码迷,mamicode.com
首页 >  
搜索关键字:rotated    ( 804个结果
leetcode-Search in Rotated Sorted Array II-81
这题和http://www.cnblogs.com/0summer/p/5825282.html一样,只是上一题中序列里没有重复的元素 代码都是一样的 ...
分类:其他好文   时间:2016-08-31 13:40:41    阅读次数:191
【LeetCode】81. Search in Rotated Sorted Array II
题目: Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed? Would this affect the run-time complexity? How and why? Write a fun ...
分类:其他好文   时间:2016-08-27 15:26:39    阅读次数:99
【LeetCode】33. Search in Rotated Sorted Array 解题小结
题目: Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given a targe ...
分类:其他好文   时间:2016-08-27 11:23:29    阅读次数:131
【LeetCode】189. Rotate Array 解题小结
题目: Rotate an array of n elements to the right by k steps. For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4]. ...
分类:其他好文   时间:2016-08-25 23:41:16    阅读次数:177
Strobogrammatic Number II -- LeetCode
A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down). Find all strobogrammatic numbers that are o ...
分类:其他好文   时间:2016-08-24 07:43:19    阅读次数:123
LeetCode-Strobogrammatic Number
A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down). Write a function to determine if a number i ...
分类:其他好文   时间:2016-08-23 15:01:09    阅读次数:128
Search in Rotated Sorted Array II
Follow up for "Search in Rotated Sorted Array": What if duplicates are allowed? Would this affect the run-time complexity? How and why? Write a functi ...
分类:其他好文   时间:2016-08-21 13:45:39    阅读次数:122
LeetCode33 Search in Rotated Sorted Array
题目: Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given a targe ...
分类:其他好文   时间:2016-08-20 23:13:44    阅读次数:243
Strobogrammatic Number -- LeetCode
A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down). Write a function to determine if a number i ...
分类:其他好文   时间:2016-08-13 11:19:07    阅读次数:134
leetcode 153. Find Minimum in Rotated Sorted Array
Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). Find the minimum element. ...
分类:其他好文   时间:2016-08-08 00:54:26    阅读次数:123
804条   上一页 1 ... 21 22 23 24 25 ... 81 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!