Search `target` in sorted ascending `nums`. Return index or `-1`. Variant **#39**.
Example 1
Input: nums = [39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71], target = 69
Output: 15
Constraints
Acceptance: 67% · Topics: binary-search, array
← All practice problems