Solutions of couple of tasks related to algorithms fundamentals. Solutions are competitive programming oriented so the source code does not follow coding style guidelines. The idea is fast execution and less memory usage.
- Sortings
- InsertionSort, SelectionSort, BubleSort
- MergeSort, QuickSort, HeapSort
- CountingSort
- BinarySearch
- Graphs:
- Traversals:
- DFS and BFS
- Shortest paths:
- Dijkstra
- Floyd-Warshall
- Bellman-Ford
- Minimum spanning tree:
- Prim
- Kruskal
- Traversals:
- Dynamic programming:
- Recursive approach
- Memoization
- Bottom-up solutions