How it works
How spaced-repetition practice works
Solve, rate, and re-solve problems from the NeetCode 150. Your rating sets the next review date. Seven questions, answered directly.
What should I practice today?
Due reviews come first, sorted by risk: how far past its due date each review is, measured against its interval, rather than simply the oldest date. The first one is your focus.
| Review | Interval | Overdue | Risk |
|---|---|---|---|
| ★Contains Duplicate | 2 days | 2 days | 100% |
| Valid Parentheses | 7 days | 3 days | 43% |
| Climbing Stairs | 30 days | 6 days | 20% |
Climbing Stairs is the oldest, but two days late on a two-day interval is the bigger slip.
After the reviews comes the next new problem, in NeetCode order.
There is no daily cap, no skip action and no list of upcoming reviews. You choose how much to do.
Where do I solve the problem?
You read the full statement and solve the problem on NeetCode (opens in a new tab) (linked first) or LeetCode (opens in a new tab). dsa-learning records your attempts and schedules your reviews. NeetCode and LeetCode may ask you to create an account of their own.
When does a problem return?
| How it felt | Next re-solve |
|---|---|
| +2 calendar days | |
| +7 calendar days | |
| +30 calendar days |
Each interval counts calendar days in your time zone, starting from the day you actually did the attempt. A Medium stays at 7 days however often you repeat it.
Your time and any help you used are recorded for you to look back on. They don't change the interval.
An overdue review stays due until you do it. Re-solving a problem before its due date restarts its interval from that day.
When is a problem mastered?
An Easy on a review done on or after its due date, following an Easy, marks the problem mastered. An Easy before the due date doesn't count: the 30-day interval simply restarts.
- NewNever attempted
- any attempt
- ActiveComes back on its schedule
- Easy, on time, after Easy
- MasteredOut of the rotation
You can also mark any problem Already mastered from Problems. Rating a mastered problem Medium or Hard later brings it back into rotation.
“Mastered” is the app's scheduling label: the problem leaves the review rotation. It is not a guarantee of how you will do in an interview.
Why are earlier answers hidden?
Re-solving from a blank editor is retrieval practice: recalling the approach yourself is the exercise.
While you review
Contains Duplicate
- Pattern
- Hidden
- Your key insight
- Hidden
- Solution and video
- Hidden
After you log it
Contains Duplicate
- Pattern
- Arrays & Hashing
- Your key insight
- Your one-sentence takeaway
- Solution and video
- Open
So while a problem is being reviewed, its pattern, your earlier key insights and the solution and video links stay hidden until you log the attempt.
If you turn on “Show the pattern on reviews” in Settings, the pattern stays visible. On a problem's own page, a Reveal (spoilers) button shows the rest when you choose to.
What is the research behind it?
Two well-studied ideas shape the app: spacing and retrieval practice. The studies below are about learning in general; the exact rules in this app are our own choices.
In a study of more than 1,350 people learning facts, a review spread out from the first study session improved recall on a later test, and the best gap grew longer the longer the material had to be remembered.
Retrieval practice
Roediger & Karpicke (2006) (opens in a new tab)Students who practiced recalling a passage remembered more of it two days and a week later than students who reread it, even though rereading did better on a test five minutes later.
Broader evidence on study techniques
Dunlosky et al. (2013) (opens in a new tab)A review of ten common study techniques rated practice testing and spreading practice over time as the two with high utility, and rereading and highlighting as low.
Can I use it without an account, and keep a backup?
Yes. dsa-learning works without an account: your progress is saved in this browser.
Export it as a JSON file in Settings to keep a backup or move to another browser, then import it there. Clearing this browser's site data deletes the progress stored here, so export first.
Signing in with GitHub is optional: an account syncs your progress across your devices, and the app works fully without one.
The Privacy page says exactly what is stored, and where.
Ready for the first problem?