~/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.

Search tricks

Ternary search

Maximize a unimodal function; or binary search on the slope.

Notes

6 problems

Advanced & competitive

Search tricks Ternary search, meet in the middle.

esc