class Solution:
def search(self, nums: List[int], target: int) -> bool:
return target in nums
数组 中等 每日一题
直接in复杂度是差不多的
https://leetcode-cn.com/problems/search-in-rotated-sorted-array-ii/
class Solution:
def search(self, nums: List[int], target: int) -> bool:
return target in nums
数组 中等 每日一题
直接in复杂度是差不多的
https://leetcode-cn.com/problems/search-in-rotated-sorted-array-ii/