HACKER Q&A
📣 imedadel

Is anyone using spaced repetition with LeetCode?


I started using LeetCode a couple of months ago to prepare for my upcoming university internships and I found myself using Trello or similar apps in order to organize my learning.

Eventually, I made a chrome extension for reviewing old LeetCode questions using spaced repetition. The goal is, of course, not memorizing the question but rather making sure that the question's pattern "sticks" in my memory.

So I'm wondering if any of you have used this method while preparing for interviews and whether you found it helpful or not.


  👤 muzani Accepted Answer ✓
I tried before, but it was quite demotivating to go back to the same questions and still not remember the answer. I'd rather just go and do new questions instead of repeatedly failing at an old one. It's probably not a good approach but better than nothing.

👤 otras
I did this with Anki when preparing for my last round of interviews.

After completing a question (working through on a whiteboard while imitating a coding interview session), I would make a card for it. General pattern and general algorithm to use to solve, then review it whenever Anki told me to. I found that it was better to focus on higher level concepts than worrying about exact algo implementations (though I did the exact implementations when first working through a problem).

I think this worked well, but I also probably have confirmation bias.

I’ve also used this technique for math/CS problems, and it has seemed to work well.


👤 stuqqq
Leetcode is a disease. I know many people memories answers and test cases.

👤 segmondy
Why would you do that? It's not about memorization. It's about understanding the problem so if you saw it reshaped differently, you can still come up with a valid solution.