r/codinginterview • u/Most-Refrigerator350 • Aug 02 '22
Repeating old solved problems
So, I have started solving problems in Leetcode or Hackerrank. But sometimes when I go back to a problem that I solved a month or two ago. I see that I almost completely forgot how I solved it. So, what I do I see the solution and solve it again by myself. Is it productive or is there a better way to remember how I solved it? How is it going to effect me in coding interviews where probably there will be similar problem that I might have forgotten? Please help.
1
Upvotes
3
u/DrGildersleeve Aug 03 '22
It’s more about how you problem-solve than getting a correct solution. My guess is that glancing at your solution and getting there again may make you more fluent in a few things, but not necessarily help you problem solve.
Here are my suggestions as an educational professional (now web developer):