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
Be Geeks!#9760
Örän kyn
Daily Division#9870
Örän kyn
The number of powers of two#9951
Örän ýeňil
The number of powers of two is 2#9953
Örän ýeňil
The number of powers of two is 3#9955
Örän ýeňil
Tree Find#10063
Örän ýeňil
Tree Next#10146
Ýeňil
Tree Previous#10147
Ýeňil
MooBuzz#10287
Örän ýeňil
Tree Depth#10295
Örän ýeňil
Haircut#10310
Ýeňil
Cow Land#10347
Örän ýeňil
Dishwashing#10348
Örän kyn