摘要: 题目链接 "https://leetcode.com/problems/binary tree inorder traversal/" 题目原文 Given a binary tree, return the inorder traversal of its nodes' values. For e 阅读全文
posted @ 2016-02-23 16:34 slurm 阅读(361) 评论(0) 推荐(0)
摘要: 题目链接 "https://leetcode.com/problems/restore ip addresses/" 题目原文 Given a string containing only digits, restore it by returning all possible valid IP a 阅读全文
posted @ 2016-02-23 16:23 slurm 阅读(403) 评论(0) 推荐(0)
摘要: 题目链接 "https://leetcode.com/problems/reverse linked list ii/" 题目原文 Reverse a linked list from position m to n. Do it in place and in one pass. For exam 阅读全文
posted @ 2016-02-23 15:33 slurm 阅读(376) 评论(0) 推荐(0)
摘要: 题目链接 "https://leetcode.com/problems/decode ways/" 题目原文 A message containing letters from is being encoded to numbers using the following mapping: 'A' 阅读全文
posted @ 2016-02-23 15:12 slurm 阅读(460) 评论(0) 推荐(0)
摘要: 题目链接 "https://leetcode.com/problems/subsets ii/" 题目原文 Given a collection of integers that might contain duplicates, nums, return all possible subsets. 阅读全文
posted @ 2016-02-22 10:02 slurm 阅读(437) 评论(0) 推荐(0)
摘要: 题目链接 "https://leetcode.com/problems/gray code/" 题目原文 The gray code is a binary numeral system where two successive values differ in only one bit. Give 阅读全文
posted @ 2016-02-22 09:59 slurm 阅读(350) 评论(0) 推荐(0)
摘要: 题目链接 "https://leetcode.com/problems/merge sorted array/" 题目原文 Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted ar 阅读全文
posted @ 2016-02-22 09:55 slurm 阅读(396) 评论(0) 推荐(0)
摘要: 题目链接 "https://leetcode.com/problems/scramble string/" 题目原文 We say that "rgtae" is a scrambled string of "great". Given two strings s1 and s2 of the sa 阅读全文
posted @ 2016-02-22 09:52 slurm 阅读(216) 评论(0) 推荐(0)
摘要: 题目链接 "https://leetcode.com/problems/partition list/" 题目原文 Given a linked list and a value x, partition it such that all nodes less than x come before 阅读全文
posted @ 2016-02-22 09:45 slurm 阅读(185) 评论(0) 推荐(0)
摘要: 题目链接 "https://leetcode.com/problems/maximal rectangle/" 题目原文 Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing a 阅读全文
posted @ 2016-02-03 14:03 slurm 阅读(489) 评论(0) 推荐(0)