Search `target` in sorted ascending `nums`. Return index or `-1`. Variant **#36**.
Example 1
Input: nums = [36,38,40,42,44,46,48,50,52,54,56,58,60,62], target = 56
Output: 10
Constraints
Acceptance: 50% · Topics: binary-search, array
← All practice problems