~/problems

Problems

Basics first, then the classics, then company-style assessments. Every problem has tests you run right here; multi-level ones unlock as you go. See the roadmap.

Binary search

Prefix sums + binary search

Weighted sampling: bisect into cumulative weights.

Notes

5 problems

Interview roadmap

esc