Implement a classic lower_bound search that finds the first index where a value is not less than the target.
Constraints
Example
>>> lower_bound([1, 2, 3, 4], 3) 2 >>> lower_bound([1, 2, 3, 4], 5) 4 >>> lower_bound([1, 2, 3, 4], 0) 0 >>> lower_bound([], 5) 0
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints