摘要: 今天面试一个小伙问旋转数组的二分搜索,https://leetcode.cn/problems/search-in-rotated-sorted-array 我自己先写了一份代码如下,是不是觉得很丑陋,重复代码较多? class Solution: def search(self, nums: Li 阅读全文
posted @ 2023-02-27 20:32 bonelee 阅读(28) 评论(0) 推荐(0) 编辑