def search(self, nums, target):
:type nums: List[int]
:type target: int
if target in nums[:len(nums)//2]:
elif target in nums[len(nums)//2:]:
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.