摘要:
Given an unsorted array nums, reorder it such that nums[0] < nums[1] > nums[2] < nums[3].... Example 1: Example 2: Note:You may assume all input has v 阅读全文
posted @ 2016-01-18 13:59
Grandyang
阅读(34686)
评论(12)
推荐(2)
摘要:
Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the... 阅读全文
posted @ 2016-01-18 13:20
Grandyang
阅读(14690)
评论(0)
推荐(1)
摘要:
Given an integer, write a function to determine if it is a power of three. Example 1: Example 2: Example 3: Example 4: Follow up:Could you do it witho 阅读全文
posted @ 2016-01-18 06:41
Grandyang
阅读(19967)
评论(10)
推荐(0)
摘要:
You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of money. Return 阅读全文
posted @ 2016-01-18 02:39
Grandyang
阅读(42285)
评论(17)
推荐(3)

浙公网安备 33010602011771号