2024年4月16日

摘要: https://juejin.cn/post/6976634412288966663 阅读全文
posted @ 2024-04-16 11:20 张博的博客 阅读(3) 评论(0) 推荐(0) 编辑
摘要: class Solution: def search(self, nums: List[int], target: int) -> int: left=0 right=len(nums)-1 while (left<=right): mid=left+right>>1 if nums[mid]==t 阅读全文
posted @ 2024-04-16 09:26 张博的博客 阅读(2) 评论(0) 推荐(0) 编辑

导航