AlgoMaster Logo

Design Hit Counter

operations=[hit(1), hit(2), hit(3), getHits(4), hit(300), getHits(300), getHits(301)]
0 / 41
algomaster.io
Step:Start: timestamps[300] and counts[300] initialized to all zeros.