Yo, if you’re looking for must know algorithms for data structures, here’s my take:
- Trees: Inorder/Preorder/Postorder traversals, BST ops
- Graphs: Topological Sort, Union-Find (for connectivity)
- Heaps: Priority Queue stuff, Kth smallest/largest
Also, check out VisuAlgo for visualizing these—helps a ton!
Overrated? Maybe Bubble Sort lol. But seriously, focus on patterns, not just memorizing.
- Trees: Inorder/Preorder/Postorder traversals, BST ops
- Graphs: Topological Sort, Union-Find (for connectivity)
- Heaps: Priority Queue stuff, Kth smallest/largest
Also, check out VisuAlgo for visualizing these—helps a ton!
Overrated? Maybe Bubble Sort lol. But seriously, focus on patterns, not just memorizing.
