InterviewDB Question

Reddit SWE Phone - Hit Counter

Question Details

Problem Design a hit counter that records timestamps and returns the number of hits in the past 5 minutes (or a sliding window). Likely LeetCode equivalent Directly matches Design Hit Counter (LC 362). Tags hash_table, queue, reddit, design

Full Details

🔒

Unlock all Reddit questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a reddit interview during the phone round.

It covers the following topics: Sliding Window, Phone, Coding, Queue, Hash Table, Onsite .