Implement a rate limiter that upon construction is given an integer representing the number of times a target resource is accessible during a fixed 1-minute time window. The interface would declare a single method: boolean canAccess() that would return true if a resource can be accessed immediately during the current time window, false otherwise. Additional requirements: * You can't use any helper thread to maintain state. * Must maintain time complexity of O(1) * Must be thread safe.
Senior Java Developer Tech Lead Interview Questions
5,570 senior java developer tech lead interview questions shared by candidates
1)if you get 1000 requests for you api developed, but your hardware can handle only 200 then how can you handle load?
difference between HashMap , HashTable ConcurrentHashMap?
Do you know react. Js
Where you have used spring aop?
How to achive responsiveness using css what is media query
If parent class is serialized then how can we avoid serialization for the sub class ?
What is Deadlock?
What is method overloading and method overriding?
What is deadlock in java?
Viewing 441 - 450 interview questions
See Interview Questions for Similar Jobs
Senior Java DeveloperSenior Java ConsultantSenior Software Engineer Java DeveloperSoftware Engineer Java DeveloperMid Level Java DeveloperSenior Java Applications DeveloperSenior Software Engineer JavaSenior Software Engineer Senior Java DeveloperSpring DeveloperCore Java DeveloperSenior Java Web DeveloperSenior Software Developer Java J2eeSenior Java ProgrammerSenior Developer JavaSoftware Engineer Senior Java DeveloperLead Backend DeveloperJava ArchitectSenior Java J2ee Developer