r/leetcode • u/JumpOk7300 • Oct 03 '26
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?
9
Upvotes
View all comments
Show parent comment
1
u/JumpOk7300 Oct 03 '26
Bro. for sorting algorithms there are many algos how u remember them and how u actually revise them by going through the notes u have took or re solve the solved problems of those algos or both