LeetCode Timer

25:00
ready

space start/pause · r reset · f fullscreen

A countdown built for timed practice

Interviews are timed, so practice should be too. Pick a duration, put the clock in fullscreen on a second monitor, and solve the problem before it runs out. The last ten seconds blink so you notice them without watching the clock.

Which duration to pick

25 minutes -
easy problems, and a standard Pomodoro block for warming up.
35 minutes -
mediums, which is roughly the time you get per question in a real interview round.
45 minutes -
hards, or a full mock round including explaining your approach.

How to use it

  1. Press Start, or hit the space bar.
  2. Press F for fullscreen so the countdown stays readable at a glance.
  3. Work until it blinks. The last ten seconds flash red, then it chimes.
  4. Need a different length? Use the presets, or type any number of minutes into the custom field.

Keyboard shortcuts

Frequently asked questions

How long should I spend on a LeetCode problem?

A common rule of thumb is 25 minutes for an easy problem, 35 for a medium and 45 for a hard one. If the timer runs out, read the solution, understand it, and re-attempt the problem a few days later rather than grinding past the limit.

Does the timer keep running if I switch tabs?

Yes. The countdown is calculated from a fixed end time rather than counted tick by tick, so background throttling cannot make it drift. The remaining time also appears in the browser tab title while you work in another tab.

Can I set a custom duration?

Yes. Type any number of minutes between 1 and 600 into the custom field and press Enter to load it. Every common duration also has its own page, such as /timer/45-minute-timer.

Is this timer free?

Yes, it is completely free, needs no account, and runs entirely in your browser - nothing is sent to a server.

Popular timers

Every timer