...

/

Element in Bitonic Array

Element in Bitonic Array

Let's try to conduct a binary search of a bitonic array. Difficulty Level: Medium

Problem statement

Suppose we are given an integer array, nums, which is guaranteed to be a bitonic array and a target value. It will return the index if the target is found. If not, it will return -1.

Constraints:

  • 3nums.length1053 \leq nums.length \leq 10^5 ...