YOE: ~6.5 years
Location: Bangalore
Approached via a recruiter on Linkedin, and Interview was scheduled.
Interview:
It was 1 hour long.
The first question was to design a class for rate limiter with leaky bucket algorithm. The class interface was given.
After that, I was asked to design a BadPwd rate limiter like we have on android phones. The interviewer hinted to use map where I can keep previous question leakyBucket mapped with the user.