摘要:
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... 阅读全文
摘要:
https://leetcode.com/problems/rotate-image/You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Cou... 阅读全文
摘要:
https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/ Follow up for problem "Populating Next Right Pointers in Each Node". Wha 阅读全文
摘要:
https://leetcode.com/problems/gray-code/The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negati... 阅读全文
摘要:
https://oj.leetcode.com/problems/find-peak-element/ A peak element is an element that is greater than its neighbors. Given an input array where num[i] 阅读全文