1p3a Question · Nov 2025

Design Hit Counter with Variable Time Windows

Question Details

Problem Requirements You need to design a "Hit Counter" that stores data in memory. This system tracks how many times an event (a "hit") happens. It must also calculate the average load, known as Q

Full Details

🔒

Unlock all Databricks 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 databricks interview for a swe role reported in 2025.

It covers the following topics: Array, Hash Table, Sliding Window, Tree, Message Queue, Queue, Sliding Window, Rate Limiter, System Design, Hash Table, Queue, Arrays .

Difficulty rating: Easy