thecodex.expert · The Codex Family of Knowledge
Section Hub

Algorithms

Step-by-step procedures for solving computational problems — and the analysis tools that tell you which procedure to choose.

20+ algorithms Big O proofs included CLRS sourced Last verified:

An algorithm is a finite, deterministic procedure for solving a class of problems. The study of algorithms asks: is it correct, how fast is it, and can we do better? Every page in this section includes a formal Big O analysis and sources from Cormen et al. CLRS and Knuth TAOCP.

Foundations

Sorting

The most studied class of algorithms. Provably optimal lower bound of Θ(n log n) for comparison sorts.

Searching

Binary Search

O(log n) search in a sorted array. Eliminate half the search space per step. The foundation of all divide-and-conquer searching.

Coming · Session 10
DFS & BFS

Depth-first and breadth-first graph traversal. Stack vs. queue. Finding paths, connected components, and cycle detection.

Coming · Session 11

Advanced

Dynamic Programming

Solve complex problems by breaking them into overlapping subproblems and storing results. Fibonacci, knapsack, longest common subsequence.

Coming
Greedy Algorithms

Make locally optimal choices at each step. Dijkstra\'s shortest path, Huffman coding, interval scheduling.

Coming