COLLECTION
THE LEARNING LIBRARY
Learn Reference Guide
A growing library of explanations, examples, and implementations. Pick a subject and follow your curiosity.
Search results
- Affine CipherComputer Science / Algorithms / Uncategorized
- Articulation Points (or Cut Vertices)Computer Science / Algorithms 2 / Graph
- AVL TreeComputer Science / Data Structures / Tree
- Bellman-Ford's Shortest PathComputer Science / Algorithms / Dynamic Programming
- Bellman–Ford AlgorithmComputer Science / Algorithms 2 / Graph
- Best Time to Buy and Sell StockComputer Science / Algorithms 2 / Uncategorized
- Binary representation of floating-point numbersComputer Science / Algorithms 2 / Mathematics
- Binary SearchComputer Science / Algorithms 2 / Search
- Binary SearchComputer Science / Algorithms / Branch and Bound
- Binary Search TreeComputer Science / Algorithms / Branch and Bound
- Binary Tree TraversalComputer Science / Algorithms / Brute Force
- Bipartiteness TestComputer Science / Algorithms / Brute Force
- Bit ManipulationComputer Science / Algorithms 2 / Mathematics
- Bloom FilterComputer Science / Data Structures
- Boyer–Moore's Majority VoteComputer Science / Algorithms / Greedy
- Breadth-First SearchComputer Science / Algorithms / Brute Force
- Breadth-First Search (BFS)Computer Science / Algorithms 2 / Graph
- Breadth-First Search (BFS)Computer Science / Algorithms 2 / Tree
- Bridge FindingComputer Science / Algorithms / Brute Force
- Bridges in GraphComputer Science / Algorithms 2 / Graph
- Bubble SortComputer Science / Algorithms 2 / Sorting
- Bubble SortComputer Science / Algorithms / Brute Force
- Bucket SortComputer Science / Algorithms 2 / Sorting
- Bucket SortComputer Science / Algorithms / Divide and Conquer
- Caesar CipherComputer Science / Algorithms / Uncategorized
- Caesar Cipher AlgorithmComputer Science / Algorithms 2 / Cryptography
- Cartesian ProductComputer Science / Algorithms 2 / Sets
- Catalan NumberComputer Science / Algorithms / Dynamic Programming
- Cellular AutomataComputer Science / Algorithms / Simple Recursive
- Comb SortComputer Science / Algorithms / Brute Force
- Combination Sum ProblemComputer Science / Algorithms 2 / Sets
- CombinationsComputer Science / Algorithms 2 / Sets
- Complex NumberComputer Science / Algorithms 2 / Mathematics
- Content-aware image resizing in JavaScriptComputer Science / Algorithms 2 / Image Processing
- Counting SortComputer Science / Algorithms 2 / Sorting
- Counting SortComputer Science / Algorithms / Divide and Conquer
- Cycle DetectionComputer Science / Algorithms / Simple Recursive
- Cycle SortComputer Science / Algorithms / Brute Force
- Depth-First SearchComputer Science / Algorithms / Brute Force
- Depth-First Search (DFS)Computer Science / Algorithms 2 / Graph
- Depth-First Search (DFS)Computer Science / Algorithms 2 / Tree
- Depth-Limited SearchComputer Science / Algorithms / Branch and Bound
- Deque (Double-Ended Queue)Computer Science / Data Structures
- Detect Cycle in GraphsComputer Science / Algorithms 2 / Graph
- Dijkstra's AlgorithmComputer Science / Algorithms 2 / Graph
- Dijkstra's Shortest PathComputer Science / Algorithms / Greedy
- Disjoint SetComputer Science / Data Structures
- Doubly Linked ListComputer Science / Data Structures
- Euclidean algorithmComputer Science / Algorithms 2 / Mathematics
- Euclidean DistanceComputer Science / Algorithms 2 / Mathematics
- Euclidean Greatest Common DivisorComputer Science / Algorithms / Simple Recursive
- Eulerian PathComputer Science / Algorithms 2 / Graph
- FactorialComputer Science / Algorithms 2 / Mathematics
- Fast Powering AlgorithmComputer Science / Algorithms 2 / Mathematics
- Fenwick TreeComputer Science / Data Structures / Tree
- Fibonacci NumberComputer Science / Algorithms 2 / Mathematics
- Fibonacci SequenceComputer Science / Algorithms / Dynamic Programming
- Fisher–Yates shuffleComputer Science / Algorithms 2 / Sets
- Flood FillComputer Science / Algorithms / Brute Force
- Floyd-Warshall's Shortest PathComputer Science / Algorithms / Dynamic Programming
- Floyd–Warshall AlgorithmComputer Science / Algorithms 2 / Graph
- Fourier TransformComputer Science / Algorithms 2 / Mathematics
- Freivalds' Matrix-Multiplication VerificationComputer Science / Algorithms / Uncategorized
- GraphComputer Science / Data Structures
- Hamiltonean CyclesComputer Science / Algorithms / Backtracking
- Hamiltonian PathComputer Science / Algorithms 2 / Graph
- Hamming DistanceComputer Science / Algorithms 2 / String
- Hash TableComputer Science / Data Structures
- HeapComputer Science / Data Structures
- Heap SortComputer Science / Algorithms 2 / Sorting
- HeapsortComputer Science / Algorithms / Brute Force
- Hill CipherComputer Science / Algorithms 2 / Cryptography
- Horner's MethodComputer Science / Algorithms 2 / Mathematics
- Insertion SortComputer Science / Algorithms 2 / Sorting
- Insertion SortComputer Science / Algorithms / Brute Force
- Integer PartitionComputer Science / Algorithms 2 / Mathematics
- Integer PartitionComputer Science / Algorithms / Dynamic Programming
- Interpolation SearchComputer Science / Algorithms 2 / Search
- Introduction to Bitwise algorithmsComputer Science / Algorithms / Bitwise
- Is a power of twoComputer Science / Algorithms 2 / Mathematics
- Job Scheduling ProblemComputer Science / Algorithms / Greedy
- Jump GameComputer Science / Algorithms 2 / Uncategorized
- Jump SearchComputer Science / Algorithms 2 / Search
- k-Means AlgorithmComputer Science / Algorithms 2 / Machine Learning
- K-Means ClusteringComputer Science / Algorithms / Uncategorized
- k-Nearest Neighbors AlgorithmComputer Science / Algorithms 2 / Machine Learning
- Knapsack ProblemComputer Science / Algorithms 2 / Sets
- Knapsack ProblemComputer Science / Algorithms / Dynamic Programming
- Knight's TourComputer Science / Algorithms 2 / Uncategorized
- Knight's Tour ProblemComputer Science / Algorithms / Backtracking
- Knuth-Morris-Pratt's String SearchComputer Science / Algorithms / Dynamic Programming
- Knuth–Morris–Pratt AlgorithmComputer Science / Algorithms 2 / String
- Kruskal's AlgorithmComputer Science / Algorithms 2 / Graph
- Kruskal's Minimum Spanning TreeComputer Science / Algorithms / Greedy
- Least common multipleComputer Science / Algorithms 2 / Mathematics
- Levenshtein DistanceComputer Science / Algorithms 2 / String
- Levenshtein's Edit DistanceComputer Science / Algorithms / Dynamic Programming
- Linear SearchComputer Science / Algorithms 2 / Search
- Linked ListComputer Science / Data Structures
- Linked List TraversalComputer Science / Algorithms 2 / Linked List
- Liu Hui's π AlgorithmComputer Science / Algorithms 2 / Mathematics
- Longest Common SubsequenceComputer Science / Algorithms / Dynamic Programming
- Longest common subsequence problemComputer Science / Algorithms 2 / Sets
- Longest Common Substring ProblemComputer Science / Algorithms 2 / String
- Longest Increasing SubsequenceComputer Science / Algorithms 2 / Sets
- Longest Increasing SubsequenceComputer Science / Algorithms / Dynamic Programming
- Longest Palindromic SubsequenceComputer Science / Algorithms / Dynamic Programming
- Lowest Common AncestorComputer Science / Algorithms / Brute Force
- LRU CacheComputer Science / Data Structures
- Magic SquareComputer Science / Algorithms / Uncategorized
- MatricesComputer Science / Algorithms 2 / Mathematics
- Maximum SubarrayComputer Science / Algorithms / Dynamic Programming
- Maximum subarray problemComputer Science / Algorithms 2 / Sets
- Maximum Sum PathComputer Science / Algorithms / Dynamic Programming
- Maze GenerationComputer Science / Algorithms / Uncategorized
- Merge SortComputer Science / Algorithms 2 / Sorting
- Merge SortComputer Science / Algorithms / Divide and Conquer
- Miller-Rabin's Primality TestComputer Science / Algorithms / Uncategorized
- N-Queens ProblemComputer Science / Algorithms 2 / Uncategorized
- N-Queens ProblemComputer Science / Algorithms / Backtracking
- Nth FactorialComputer Science / Algorithms / Dynamic Programming
- Nth FactorialComputer Science / Algorithms / Simple Recursive
- PageRankComputer Science / Algorithms / Brute Force
- Palindrome CheckComputer Science / Algorithms 2 / String
- Pancake SortComputer Science / Algorithms / Brute Force
- Pascal's TriangleComputer Science / Algorithms 2 / Mathematics
- Pascal's TriangleComputer Science / Algorithms / Dynamic Programming
- PermutationsComputer Science / Algorithms 2 / Sets
- Pigeonhole SortComputer Science / Algorithms / Divide and Conquer
- Polynomial Rolling HashComputer Science / Algorithms 2 / Cryptography
- Power SetComputer Science / Algorithms 2 / Sets
- Practice Problems on Bitwise AlgorithmComputer Science / Algorithms / Bitwise
- Prim's AlgorithmComputer Science / Algorithms 2 / Graph
- Prim's Minimum Spanning TreeComputer Science / Algorithms / Greedy
- Primality TestComputer Science / Algorithms 2 / Mathematics
- Prime FactorsComputer Science / Algorithms 2 / Mathematics
- Priority QueueComputer Science / Data Structures
- QueueComputer Science / Data Structures
- QuicksortComputer Science / Algorithms 2 / Sorting
- QuicksortComputer Science / Algorithms / Divide and Conquer
- Rabin Karp AlgorithmComputer Science / Algorithms 2 / String
- Rabin-Karp's String SearchComputer Science / Algorithms / Brute Force
- RadianComputer Science / Algorithms 2 / Mathematics
- Radix SortComputer Science / Algorithms 2 / Sorting
- Radix SortComputer Science / Algorithms / Divide and Conquer
- Rail Fence CipherComputer Science / Algorithms 2 / Cryptography
- Rain Terraces (Trapping Rain Water) ProblemComputer Science / Algorithms 2 / Uncategorized
- Recursive Staircase ProblemComputer Science / Algorithms 2 / Uncategorized
- Red Black TreeComputer Science / Data Structures / Tree
- Regular Expression MatchingComputer Science / Algorithms 2 / String
- Reversed Linked List TraversalComputer Science / Algorithms 2 / Linked List
- Segment TreeComputer Science / Data Structures / Tree
- Selection SortComputer Science / Algorithms 2 / Sorting
- Selection SortComputer Science / Algorithms / Brute Force
- ShellsortComputer Science / Algorithms 2 / Sorting
- ShellsortComputer Science / Algorithms / Brute Force
- Shortest Common SupersequenceComputer Science / Algorithms 2 / Sets
- Shortest Common SupersequenceComputer Science / Algorithms / Dynamic Programming
- Shortest Unsorted Continuous SubarrayComputer Science / Algorithms / Uncategorized
- Sieve of EratosthenesComputer Science / Algorithms 2 / Mathematics
- Sieve of EratosthenesComputer Science / Algorithms / Dynamic Programming
- Sliding WindowComputer Science / Algorithms / Dynamic Programming
- Square Matrix In-Place RotationComputer Science / Algorithms 2 / Uncategorized
- Square Root (Newton's Method)Computer Science / Algorithms 2 / Mathematics
- Stable MatchingComputer Science / Algorithms / Greedy
- StackComputer Science / Data Structures
- Strongly Connected ComponentComputer Science / Algorithms 2 / Graph
- Suffix ArrayComputer Science / Algorithms / Simple Recursive
- Sum of subsetsComputer Science / Algorithms / Backtracking
- Tarjan's Strongly Connected ComponentsComputer Science / Algorithms / Brute Force
- Topological SortComputer Science / Algorithms / Branch and Bound
- Topological SortingComputer Science / Algorithms 2 / Graph
- Tower of HanoiComputer Science / Algorithms 2 / Uncategorized
- Travelling Salesman ProblemComputer Science / Algorithms 2 / Graph
- TreeComputer Science / Data Structures
- TrieComputer Science / Data Structures
- Ugly NumbersComputer Science / Algorithms / Dynamic Programming
- Unique Paths ProblemComputer Science / Algorithms 2 / Uncategorized
- Valid Parentheses ProblemComputer Science / Algorithms 2 / Stack
- Weighted RandomComputer Science / Algorithms 2 / Statistics
- Z AlgorithmComputer Science / Algorithms 2 / String
- Z String SearchComputer Science / Algorithms / Dynamic Programming