Just a cheetsheet with codes of the most popular algorithms and data structures.
Algorithms:
- Sort:
- InsertionSort
- SelectionSort
- BubbleSort
- ShakerSort
- ShellSort
- QuickSort
- MergeSort
- HeapSort
- CountingSort
- RadixSort
- Search:
- BinarySearch
- InterpolationSearch
- Knuth-Morris-Pratt
- Boyer-Moore
- Boyer-Moore-Horspool
Data structures:
- SingleLinkedList
- CircularList
- Stack
- PriorityQueue
- Binary Search Tree
- Graph