LeetCode
Design Hit Counter
Click
here
for an explanation.