Task: Implement Binary Search to Find First Element Greater Than Target
Task: Implement Binary Search to Find First Element Greater Than Target: a task in Terminal-Lego-15k (Harbor dataset). In a standard binary search, we look for an exact match of a target value in a sorted array. However, a common variant is finding the first element that is strictly greater than a…
The task
In a standard binary search, we look for an exact match of a target value in a sorted array. However, a common variant is finding the **first element that is strictly greater than a given target**.
Part of PrimeIntellect/Terminal-Lego-15k.