Master the Coding Interview - Data Structures + Algorithms
Master the Coding Interview - Data Structures + Algorithms
Bellman-Ford
Fast Access O(1), tradeoff: more memory O(n)
Shortest Path?
Radix Sort
Dijkstra Hash Tables
Quick Sort
Breadth First Search (BFS)
Heap Sort
Graphs
String question?
Turn it into an Array ~ split()
Be mindful of Space Complexity! (Stack overflow)
Tree Traversal? O(n)
Static
Recursion?
Tree Arrays
Singly Linked List Dynamic
AVL Tree
Balanced BST Heap
Red Black Tree
Binary Heap