Search `target` in sorted ascending `nums`. Return index or `-1`. Variant **#22**.
Example 1
Input: nums = [22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80], target = 34
Output: 6
Constraints
Acceptance: 67% · Topics: binary-search, array