摘要: 原题网址:https://www.lintcode.com/problem/search-in-rotated-sorted-array-ii/description 描述 跟进“搜索旋转排序数组”,假如有重复元素又将如何? 是否会影响运行时间复杂度? 如何影响? 为何会影响? 写出一个函数判断给定 阅读全文
posted @ 2018-06-02 20:55 eeeeeeee鹅 阅读(211) 评论(0) 推荐(0)
摘要: 原题网址:https://www.lintcode.com/problem/search-in-rotated-sorted-array/description 描述 假设有一个排序的按未知的旋转轴旋转的数组(比如,0 1 2 4 5 6 7 可能成为4 5 6 7 0 1 2)。给定一个目标值进行 阅读全文
posted @ 2018-06-02 16:19 eeeeeeee鹅 阅读(222) 评论(0) 推荐(0)