Practice
/ Back / Home /
- Algorithmic paradigms
- Backtraking
- Divide and conquer
- Merge Sort
- Quicksort
- Strassen’s algorithm for matrix multiplication: topcoder.com
- Towers of Hanoi: Briliant.org
- Majority Element: leetcode
- Median of Two Sorted Arrays: leetcode
- Dynamic programming
- Prefixes/Suffixes:
- TODO: Kadane
- TODO: Largest Sum Contiguous Subarray
- Largest Increasing Subsequence: topcoder.com
- Interval:
- TODO: Longest Common Subsequence
- TODO: Edit Distance (Levenshtein distance)
- Bellman-Ford
- Floyd-Warshall
- Bitmask:
- TODO: Bellman-Held-Karp (Shortest Superstring Problem)
- Pseudo-polynomial:
- TODO: Rod cutting
- TODO: Knapsack 0-1
- TODO: Coin Change Problem
- Prefixes/Suffixes:
- Greedy
- Single-Source Shortest Paths — Dijkstra’s Algorithm
- Kruskal’s Algorithm for finding Minimum Spanning Tree
- Prim’s Algorithm for finding Minimum Spanning Tree
- Graph Coloring Problem brilliant.org
- Gas Station leetcode
- Jump Game leetcode
- Container With Most Water leetcode
- Sort
- Search
- Graph
- Strings