← All learning paths

Typorithm learning path

Patterns

Coding-interview patterns — two pointers, sliding window, frequency counter, and time complexity.

8Focused units
41Topics to explore
344Practice activities
Patterns course illustration

Your learning path

0 of 41 topics completed

Saved on this device

02

Unit 2 · 5 topics

Two Pointers

Converging and greedy pointer scans — palindromes, sorted pair sums, 3Sum, and trapped water.

0/5 complete
04

Unit 4 · 5 topics

Monotonic Stack

Stacks that stay ordered — next greater, histogram rectangles, car fleets, stock spans, and k digits.

0/5 complete
05

Unit 5 · 4 topics

Intervals

Timeline sweeps — merge, insert, minimum removals, and peak-concurrency room scheduling.

0/4 complete
07

Unit 7 · 4 topics

Binary Search on Answer

Search a numeric answer space by a monotonic predicate — Koko, shipping, splits, and bouquets.

0/4 complete
08

Unit 8 · 3 topics

Memoization

Cache pure function results — a memoize() HOF, composite cache keys, and memoized recursion that turns O(2^n) into O(n).

0/3 complete