Binary Search
Problems on binary search, including finding a value or its first and last position in a sorted array, binary search on the answer, cutting and distributing resources into equal parts, finding roots of monotone functions and searching on real numbers.
The binary search article in the Basics section explains the technique. Related problem sets are under Ternary search, Sorting and Two pointers.
Problems
Boring tree queries#11544
Very hard
Another easy string problem#11545
Very hard
Company Queries I#11598
Medium
Buildings#11615
Medium
Кількість маршрутів#11651
Very hard
Dynamic array#11672
Medium
Batteries#11690
Very hard
Chasing Chmyaaax#11696
Very hard
Sprague-Grundy numbers#11794
Very hard
Score#11806
Hard
Towers#11825
Hard
Obsessed with Hatsune Miku#11856
Very hard
De3b0o's MathModel Ideal Gift#11857
Very hard
Comeback#12199
Very hard
Powers counting#12210
Medium