intminArray(vector<int>& numbers){ int size = numbers.size(); if (!size)return-1; int left = 0, right = size - 1; while (left < right) { int m = (left + right) / 2; if (numbers[m] > numbers[right]) left = m + 1; elseif (numbers[m] < numbers[right]) right = m; else right--; } return numbers[left]; }