摘要:
https://leetcode.com/problems/find-peak-element/ A peak element is an element that is greater than its neighbors. Given an input array nums, where num 阅读全文
posted @ 2018-11-28 22:14
_Zlrrr
阅读(149)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii/ Suppose an array sorted in ascending order is rotated at some pivot unknown to 阅读全文
posted @ 2018-11-28 20:42
_Zlrrr
阅读(127)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/ Suppose an array sorted in ascending order is rotated at some pivot unknown to you 阅读全文
posted @ 2018-11-28 20:20
_Zlrrr
阅读(149)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/reverse-words-in-a-string/ Given an input string, reverse the string word by word. Example: Note: A word is defined as a 阅读全文
posted @ 2018-11-28 17:35
_Zlrrr
阅读(229)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/number-of-islands/ Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrou 阅读全文
posted @ 2018-11-28 16:01
_Zlrrr
阅读(138)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/house-robber/ You are a professional robber planning to rob houses along a street. Each house has a certain amount of mo 阅读全文
posted @ 2018-11-28 09:49
_Zlrrr
阅读(151)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/reverse-bits/ Reverse bits of a given 32 bits unsigned integer. Example: 代码: Easy 杀手 阅读全文
posted @ 2018-11-28 09:07
_Zlrrr
阅读(156)
评论(0)
推荐(0)
摘要:
Given an array, rotate the array to the right by k steps, where k is non-negative. Example 1: Example 2: 代码: 阅读全文
posted @ 2018-11-28 08:48
_Zlrrr
阅读(119)
评论(0)
推荐(0)

浙公网安备 33010602011771号