LeetCode Question · Jun 2016 · Los Angeles

Dropbox | Design Hit Counter

2 upvotes 10,627 views 7 replies

Question Details

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...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →