【数组】 二分查找 704.二分查找 class Solution(object): def search(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ i = 0 j = len(nums) - 1 while i <= j