Write a hit counter for hits received in the past 5 minutes.
The HitCounter has two methods:
void hit() // record a hit. long getHits() // Return the number of hits in the last 5 minutes.
https://leetcode.com/problems/design-hit-counter (premium)