Approach hintTry it first, then revealHide
The answer is the first index whose value is not less than the target, whether or not the target is present; this is exactly a lower-bound search.
The answer is the first index whose value is not less than the target, whether or not the target is present; this is exactly a lower-bound search.