Data Structures and Algorithms (CSE310)
Playground for learning Data Structures and Algorithms, following "Introduction to Algorithms" by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein.
Primarily use dynamic memory.
- Sorting Algorithms:
- Insertion Sort - O(n^2)
- QuickSort - O(n^2)
- Bubble Sort - O(n^2)
- Merge Sort - O(n logn)
- Heap Sort - O(n logn)
- Selection Algorithms
- Median Selection - O(n)
- Data Structures
- Stack
- Queue
- Heap (min and max)
- Disjoint Set (path compression)
- Binary Search Tree
- Red-Black Tree