摘要: 1. TitleMin Stack2. Http addresshttps://leetcode.com/problems/min-stack/ 1 import java.util.*; 2 public class MinStack { 3 4 // Accepted 5 p... 阅读全文
posted @ 2015-11-01 20:08 ordi 阅读(171) 评论(0) 推荐(0)
摘要: 1. TitleNumber of Islands2. Http addresshttps://leetcode.com/problems/palindrome-linked-list/3. The questionGiven a 2d grid map of '1's (land) and '0'... 阅读全文
posted @ 2015-11-01 20:06 ordi 阅读(233) 评论(0) 推荐(0)
摘要: 1. TitlePalindrome Linked List2. Http addresshttps://leetcode.com/problems/palindrome-linked-list/3. The questionGiven a singly linked list, determine... 阅读全文
posted @ 2015-11-01 20:04 ordi 阅读(166) 评论(0) 推荐(0)
摘要: 1. TitlePalindrome Partitioning II2. Http addresshttps://leetcode.com/problems/palindrome-partitioning-ii/3. The questionGiven a strings, partitionssu... 阅读全文
posted @ 2015-11-01 20:01 ordi 阅读(150) 评论(0) 推荐(0)
摘要: 1. TitlePalindrome Partitioning2. Http addresshttps://leetcode.com/problems/palindrome-partitioning/3. The questionGiven a strings, partitionssuch tha... 阅读全文
posted @ 2015-11-01 19:58 ordi 阅读(148) 评论(0) 推荐(0)
摘要: 1. TitlePath Sum II2. Http addresshttps://leetcode.com/problems/path-sum-ii/3. The questionGiven a binary tree and a sum, find all root-to-leaf paths ... 阅读全文
posted @ 2015-11-01 19:56 ordi 阅读(130) 评论(0) 推荐(0)
摘要: 1. TitlePermutation Sequence2. Http addresshttps://leetcode.com/problems/permutation-sequence/3. The questionThe set[1,2,3,…,n]contains a total ofn! u... 阅读全文
posted @ 2015-11-01 19:53 ordi 阅读(185) 评论(0) 推荐(0)
摘要: 1. TitlePermutations2. Http addresshttps://leetcode.com/problems/permutations/3. The questionGiven a collection of numbers, return all possible permut... 阅读全文
posted @ 2015-11-01 19:51 ordi 阅读(256) 评论(0) 推荐(0)
摘要: 1. TitlePopulating Next Right Pointers in Each Node2. Http addresshttps://leetcode.com/problems/populating-next-right-pointers-in-each-node/3. The que... 阅读全文
posted @ 2015-11-01 19:47 ordi 阅读(165) 评论(0) 推荐(0)
摘要: 1. TitleRecover Binary Search Tree2. Http addresshttps://leetcode.com/problems/recover-binary-search-tree/3. The questionTwo elements of a binary sear... 阅读全文
posted @ 2015-11-01 19:41 ordi 阅读(163) 评论(0) 推荐(0)