摘要: 原题地址:https://oj.leetcode.com/problems/add-two-numbers/题意:You are given two linked lists representing two non-negative numbers. The digits are stored i... 阅读全文
posted @ 2014-06-13 16:06 南郭子綦 阅读(9032) 评论(3) 推荐(1) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/longest-substring-without-repeating-characters/题意:Given a string, find the length of the longest substring witho... 阅读全文
posted @ 2014-06-13 14:56 南郭子綦 阅读(5108) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/reverse-nodes-in-k-group/题意:Given a linked list, reverse the nodes of a linked listkat a time and return its mod... 阅读全文
posted @ 2014-06-13 12:06 南郭子綦 阅读(3190) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/submissions/detail/5341904/题意:The set[1,2,3,…,n]contains a total ofn! unique permutations.By listing and labeling all of ... 阅读全文
posted @ 2014-06-13 11:48 南郭子綦 阅读(4695) 评论(0) 推荐(1) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/merge-two-sorted-lists/题意:Merge two sorted linked lists and return it as a new list. The new list should be made... 阅读全文
posted @ 2014-06-13 11:26 南郭子綦 阅读(6645) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/rotate-list/题意:Given a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1->2... 阅读全文
posted @ 2014-06-13 11:19 南郭子綦 阅读(3688) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/minimum-window-substring/题意:Given a string S and a string T, find the minimum window in S which will contain all... 阅读全文
posted @ 2014-06-13 11:02 南郭子綦 阅读(4914) 评论(4) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/unique-paths-ii/题意:Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many ... 阅读全文
posted @ 2014-06-13 09:57 南郭子綦 阅读(2957) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/unique-paths/题意:A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The ... 阅读全文
posted @ 2014-06-13 09:43 南郭子綦 阅读(3420) 评论(1) 推荐(0) 编辑