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