平移
文章平均质量分 66
jmspan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode 154. Find Minimum in Rotated Sorted Array II(旋转数组查找)
原题网址:https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii/ Follow up for "Find Minimum in Rotated Sorted Array": What if duplicates are allowed? Would this affect the run-time原创 2016-05-26 00:57:56 · 513 阅读 · 0 评论 -
LeetCode 153. Find Minimum in Rotated Sorted Array(旋转数组查找)
原题网址:https://leetcode.com/problems/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原创 2016-05-26 01:02:22 · 494 阅读 · 0 评论 -
LeetCode 189. Rotate Array(旋转数组)
原题网址:https://leetcode.com/problems/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,原创 2016-05-04 01:22:23 · 2492 阅读 · 0 评论 -
LeetCode 190. Reverse Bits(翻转比特)
原题网址:https://leetcode.com/problems/reverse-bits/ Reverse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as 00000010100101000001111010011100)原创 2016-05-04 02:49:15 · 1878 阅读 · 0 评论 -
LeetCode 33. Search in Rotated Sorted Array(旋转数组搜索)
原题网址:https://leetcode.com/problems/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)原创 2016-05-20 10:36:45 · 556 阅读 · 0 评论 -
LeetCode 61. Rotate List(旋转链表)
原题网址:https://leetcode.com/problems/rotate-list/ Given a list, rotate the list to the right by k places, where k is non-negative. For example: Given 1->2->3->4->5->NULL and k = 2, return 4-原创 2016-05-21 09:13:10 · 1020 阅读 · 0 评论 -
HackerRank [Algo] Matrix Rotation
原题网址:https://www.hackerrank.com/challenges/matrix-rotation-algo You are given a 2D matrix, a, of dimension MxN and a positive integer R. You have to rotate the matrix R times and print th原创 2016-06-26 13:09:39 · 782 阅读 · 0 评论
分享