Round 1: Coding Round
Questions: I was asked to complete the below function for different cases:
- Global count to check rate limiting
- Path specific request limit
- User + Path
- User + Path + Tenant
public boolean isRateLimited(String requestIpAddress, String requestHttpMethod, String requestHttpPath, int requestUserId, int requestTenantId) {}
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 2: System Design
Questions: Design Twitter.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.