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.
Meseleler
Mountainous landscape#7718
Örän kyn
Square#7757
Orta
Teams#7768
Kyn
Printer#7828
Orta
Euclidean TSP#7855
Örän ýeňil
Shortcut#7977
Örän kyn
Racing Gems#8187
Ýeňil
Olympics#8190
Ýeňil
Egg Drop#8194
Örän ýeňil
Barbells#8213
Ýeňil
Roads#8257
Örän ýeňil
Floor Painting#8329
Örän kyn
Tree#8366
Kyn
Jam#8509
Örän kyn
Exams#8584
Ýeňil
For mushrooms#8662
Örän ýeňil