摘要:
# The isBadVersion API is already defined for you. # @param version, an integer # @return an integer # def isBadVersion(version): class Solution: def 阅读全文
posted @ 2022-04-27 19:01
stronger_el
阅读(7)
评论(0)
推荐(0)
摘要:
【递归】 class Solution: def search(self, nums: List[int], target: int) -> int: if len(nums) == 0: return -1 mid = int(len(nums)-1 / 2) result = 0 if nums 阅读全文
posted @ 2022-04-27 18:20
stronger_el
阅读(17)
评论(0)
推荐(0)
浙公网安备 33010602011771号