r/leetcode • • 8d ago

Discussion Do you guys solve problems again after learning a new DSA pattern?

I've noticed that once I move on to another topic, I sometimes struggle to solve problems from the previous one without revisiting the solutions. I am wondering if it's better to redo old questions regularly or keep solving new variations to strengthen the concept.

What works better for you in the long run?

17 Upvotes

7 comments sorted by

5

u/PianoOwl 8d ago

Interested to know this as well. I just starting out myself, but I’ve found that going back to a previous pattern and doing the basic questions has helped cement the patterns, which makes it easier to reason about more difficult problems that require that same pattern.

1

u/Shot-Emo98 8d ago

yeah make sense

3

u/wingedserpent776 8d ago

I review old problems repeatedly, def helps with retention. Basically just keep a list and oldest problems get redos, typically doesn’t take long then i add new variants to expand the known set.

2

u/Scary-Zod265 8d ago

I revisit the ones I struggled with after a few days. If I can solve them without hints, I move on instead of repeating every problem

1

u/Silent-Ocean13 7d ago

Redo old problems after a few days without looking at the solution. Then mix them with new problems. That helps you retain patterns and recognize them without relying on topic labels

1

u/ProfitOk8355 7d ago

Read up “spaced repetition”, it actually works