Skip to main content
General

How I use spaced repetition to remember DSA concepts

Sachin AhujaSachin Ahuja
11 months ago
295

After solving a problem, I used to forget the approach within a week. Now I use spaced repetition:

  1. Day 0: Solve the problem
  2. Day 1: Review the solution mentally
  3. Day 3: Try to solve it again from scratch
  4. Day 7: Review one more time
  5. Day 30: Final review

I use Anki flashcards with:

  • Front: Problem statement + constraints
  • Back: Key insight + approach + time complexity

After 3 months of this, I can recall approaches for 200+ problems instantly. Way more effective than grinding new problems every day.


spaced-repetitionstudy-techniqueankitips

Comments (1)

Sign in to join the discussion.
Ritesh Pandey
Ritesh Pandey11 months ago(edited)

I like your plan! I've been using Anki for languages but never thought about using it for coding practice. Do you add the exact code solution on the back of your flashcards, or just the key insights and approach?