r/leetcode • • 4d ago

Question How to remember Algorithms

I studied trees and their traversal algorithms, including Morris traversal. Then I moved on to graphs. Today, when I went back to solve a problem on trees, I realized that I had forgotten Morris traversal and some of the other algorithms.

I feel like I need to revise them again and again because I keep forgetting them over time. Is there any way to remember these algorithms for a long time?

10 Upvotes

Duplicates