【leetcode】#数组【Python】81. Search in Rotated Sorted Array II 搜索旋转排序数组 II
链接:https://leetcode-cn.com/problems/search-in-rotated-sorted-array-ii/题目:假设按照升序排序的数组在预先未知的某个点上进行了旋转。(例如,数组[0,0,1,2,2,5,6]可能变为[2,5,6,0,0,1,2])。编写一个函数来判断给定的目标值是否存在于数组中。若存在返回true,否则返回false。示例1:输入:nums=[2