Блог пользователя 650iq

Автор 650iq, история, 10 месяцев назад, По-английски

Hi everyone. Whenever i learn a new algorithm/technique it stays with me for about an week, after that if i dont solve problems on that technique or algorithm i usually forget about it in future and have to relearn it again. How can i not forget it and retain it forever. Pls help if someone knows how to tackle this

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
10 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Just solve problems or draw the algorithm's/technique's pattern

»
10 месяцев назад, # |
Rev. 2   Проголосовать: нравится +1 Проголосовать: не нравится

Here is my take. You should review them for a bit until it's second nature for you. You can try solving lots of problems on that algorithm/technique for sometime until they're as easy to implement as a for loop. Another approach is to solve the same problem with new ideas/algorithms/techniques multiple times, maybe using a spaced repetition algorithm to schedule that.

Hope that helps!

  • »
    »
    10 месяцев назад, # ^ |
      Проголосовать: нравится +1 Проголосовать: не нравится

    i aggree with your first approach i would advise solving more problems until you can easily indentify a problem that use this algorithm the number of problems you may need varies depending on the complexity of the algorithm

»
10 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

anki

»
10 месяцев назад, # |
Rev. 2   Проголосовать: нравится +19 Проголосовать: не нравится

One more tip:

Do not copy paste code, implement from scratch every time. That way eventually the new technique (DSU, Djikstra, etc) will stick and/or you will make some subtle mistakes until you really understand exactly why each line is the way it is.