Advanced · Included in Ascent
The core techniques behind efficient code and technical interviews: searching, sorting, recursion, divide and conquer, two pointers, sliding windows, prefix sums, greedy algorithms and backtracking. Every lesson explains the idea, walks through it step by step, analyses its cost and shows code in Python, JavaScript, C++ and Java, with five practice problems and a knowledge check in every module.
No story: algorithms, explained clearly, with code in four languages. Every lesson is open, so start with whatever you need. Complete 60% of the lessons and every knowledge check, then pass the final quiz to earn the certificate.
What algorithms are, how to design and analyse them, decomposing problems, brute force, and the first steps of optimisation.
Linear and binary search, lower and upper bounds, binary search on the answer, rotated arrays and sorted matrices.
Bubble, selection and insertion sort, merge sort, quicksort, counting, radix and bucket sort, stability and choosing a sort.
Base and recursive cases, the call stack, recursion trees, solving problems recursively, tail recursion, and recursion versus iteration.
Splitting problems into independent halves, recurrence relations, the master theorem, inversion counting, quickselect and closest pairs.
Opposite-direction and same-direction pointers, fast and slow pointers on arrays, in-place deduplication, pairs, triplets and partitioning.
Fixed and variable windows, window minimums and maximums with monotonic deques, and longest-substring and subarray patterns.
One- and two-dimensional prefix sums, range queries, difference arrays for range updates, and prefix sums with hashing.
Making the locally best choice: when it's provably optimal, interval scheduling, job sequencing, and how to spot (and disprove) a greedy idea.
Exhaustive search done well: decision trees, generating subsets, permutations and combinations, constraint puzzles like N-Queens and Sudoku, and pruning.
Six mixed problems, easiest first, and the statements don't name the technique: spotting the technique is part of the test.
Pass every lesson and the capstone, then the 15-question final quiz, to earn your Master Algorithms I certificate with a link anyone can verify.