Search `target` in sorted ascending `nums`. Return index or `-1`. Variant **#21**.
Example 1
Input: nums = [21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77], target = 31
Output: 5
Constraints
Acceptance: 66% · Topics: binary-search, array