上一页 1 ··· 13 14 15 16 17

2014年10月21日

摘要: String to Integer (atoi) Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, ... 阅读全文
posted @ 2014-10-21 11:32 Yu's Garden 阅读(717) 评论(0) 推荐(0) 编辑
摘要: Jump GameGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents yo... 阅读全文
posted @ 2014-10-21 11:08 Yu's Garden 阅读(2131) 评论(0) 推荐(0) 编辑

2014年10月20日

摘要: Q:Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0]return 3,and [3,4,-1,1]return 2.Your algorithm sho... 阅读全文
posted @ 2014-10-20 18:45 Yu's Garden 阅读(660) 评论(5) 推荐(0) 编辑
摘要: Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes co... 阅读全文
posted @ 2014-10-20 17:52 Yu's Garden 阅读(498) 评论(0) 推荐(0) 编辑
摘要: Given a string s, partition s such that every substring of the partition is a palindrome.Return all possible palindrome partitioning of s.For example,... 阅读全文
posted @ 2014-10-20 16:51 Yu's Garden 阅读(1819) 评论(2) 推荐(0) 编辑
摘要: Reverse Nodes in k-GroupGiven a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a... 阅读全文
posted @ 2014-10-20 13:50 Yu's Garden 阅读(544) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17

导航