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) 编辑
摘要: Given 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 multiple ofkthen left-o... 阅读全文
posted @ 2014-10-20 11:13 Yu's Garden 阅读(237) 评论(0) 推荐(1) 编辑

导航