← Questions

Design a hit counter

0
GoogleDatabricksCodingLast asked Nov 2026

A coding interview question asked in Databricks's technical phone screen and at Google, last asked Nov 2026. It tests queues and data structure design.

Build a counter of hits, such as page views, that answers how many hits happened in the past five minutes (300 seconds).

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

queues · data structure design

Your code and the AI tutor open when you unlock this question.