Binary Search (27)

These problems are related to binary search.

Maximum value at a given index in a bounded array - June 9, 2023

Check if a number is majority element in a sorted array - June 7, 2023

Find the longest valid obstacle course at each position - May 6, 2023

Find the index of the large integer - January 15, 2023

Count the number of k big indices - January 1, 2023

Leftmost column with at least a one - December 29, 2022

Maximum tastiness of candy basket - December 28, 2022

Valid triangle number - December 24, 2022

Range frequency queries - December 8, 2022

Search in a sorted array of unknown size - December 2, 2022

Count of smaller numbers after self - November 29, 2022

Count pairs in two arrays - November 28, 2022

Split array largest sum - November 22, 2022

Find peak element - November 10, 2022

Kth missing positive number - October 26, 2022

Guess number higher or lower - October 9, 2022

Search insert position - October 7, 2022

Search in rotated sorted array II - September 5, 2022

Median of two sorted arrays - August 4, 2022

Find minimum in rotated sorted array - August 4, 2022

Search in rotated sorted array - August 4, 2022

Koko eating bananas - August 1, 2022

Find first and last position of element in sorted array - July 25, 2022

Search a 2d matrix - July 24, 2022

Search a 2d matrix II - July 24, 2022

Time based key value store - July 23, 2022

Binary search - July 19, 2022