Problem Description

Task: return the first index where a[i] >= target in a sorted array, else return n.

Input Format

Java method

Output Format

Return value

Constraints

Use classic binary search.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next