Interview question
- by rahul
Recenty I was asked this interview question:
There is a server which receives millions of requests every day. Design an API for finding out hits in the last one minute, in the last 10 minutes etc. What should be the algorithm and design to implement it efficienly.
I want to know the ideas on this.