Home
About
Categories
Tags
leetcode
2020/12/29
LeetCode [220/221]
2020/12/29
42 - Trapping Rain Water
2020/12/29
515 - Find Largest Value in Each Tree Row
2020/12/28
863 - All Nodes Distance K in Binary Tree
2020/12/23
323 - Number of Connected Components in an Undirected Graph
2020/12/14
701 - Insert into a Binary Search Tree
2020/12/14
235 - Lowest Common Ancestor of a Binary Search Tree
2020/12/14
1010 - Pairs of Songs With Total Durations Divisible by 60
2020/11/30
30 - Substring with Concatenation of All Words
2020/11/30
443 - String Compression
2020/11/30
139 - Word Break
2020/11/30
140 - Word Breaker II
2020/11/28
135 - Candy
2020/11/28
134 - Gas Station
2020/11/27
381 - Insert Delete GetRandom O(1) - Duplicates allowed
2020/11/26
556 - Next Greater Element III
2020/11/26
486 - Predict the Winner
2020/11/25
842 - Split Array into Fibonacci Sequence
2020/11/24
295 - Find Median from Data Stream
2020/11/23
116 - Populating Next Right Pointers in Each Node
2020/11/22
464 - Can I Win
2020/11/22
691 - Stickers to Spell Word
2020/11/22
257 - Binary Tree Paths
2020/11/22
126 - Word Ladder II
2020/11/22
127 - Word Ladder
2020/11/21
395 - Longest Substring with At Least K Repeating Characters
2020/11/21
115 - Distinct Subsequences
2020/11/19
378 - Kth Smallest Element in a Sorted Matrix
2020/11/18
86 - Partition List
2020/11/09
376 - Wiggle Subsequence
2020/11/08
403 - Frog Jump
2020/10/11
2020/10/11
354 - Russian Doll Envelopes
2020/10/10
Beautiful Arrangement
2020/08/31
450 - Delete Node in a BST
2020/08/27
980 - Unique Paths III
2020/08/27
436 - Find Right Interval
2020/08/27
93 - Restore IP Addresses
2020/08/27
1286 - Iterator for Combination
2020/08/26
412 - Fizz Buzz
2020/08/26
983 - Minimum Cost For Tickets
2020/08/26
132 - Palindrome Partitioning II
2020/08/26
131 - Palindrome Partitioning
2020/08/24
404 - Sum of Left Leaves
2020/08/23
1219 - Path with Maximum Gold
2020/08/23
199 - Binary Tree Right Side View
2020/08/23
1032 - Stream of Characters
2020/08/22
516 - Longest Palindromic Subsequence
2020/08/19
1079 - Letter Tile Possibilities
2020/08/19
784 - Letter Case Permutation
2020/08/19
368 - Largest Divisible Subset
2020/08/19
114 - Flatten Binary Tree to Linked List
2020/08/19
824 - Goat Latin
2020/08/19
110 - Balanced Binary Tree
2020/08/18
109 - Convert Sorted List to Binary Search Tree
2020/08/18
108 - Convert Sorted Array to Binary Search Tree
2020/08/18
97 - Interleaving String
2020/08/18
967 - Numbers With Same Consecutive Differences
2020/08/18
142 - Reorder List
2020/08/17
148 - Sort List
2020/08/17
1103 - Distribute Candies to People
2020/08/17
240 - Search a 2D Matrix II
2020/08/17
82 - Remove Duplicates from Sorted List II
2020/08/14
191 - Number of 1 Bits
2020/08/13
81 - Search in Rotated Sorted Array II
2020/08/13
80 - Remove Duplicates from Sorted Array II
2020/08/13
73 - Set Matrix Zeroes
2020/08/13
71 - Simplify Path
2020/08/13
32 - Longest Valid Parentheses
2020/07/18
461 - Hamming Distance
2020/07/13
190 - Reverse Bits
2020/07/12
36 - Valid Sudoku
2020/07/10
37 - Sudoku Solver
2020/07/10
10 - Regular Expression Matching
2020/07/09
15 - 3SUM
2020/07/07
695 - Max Area of Island
2020/07/07
463 - Island Perimeter
2020/07/03
107 - Binary Tree Level Order Traversal II
2020/07/01
441 - Arranging Coins
2020/07/01
212 - Word Search II
2020/06/29
332 - Reconstruct Itinerary
2020/06/29
332 - Reconstruct Itinrary
2020/06/27
263 - Ugly Number
2020/06/27
264 - Ugly Number II
2020/06/27
303 - Range Sum Query - Immutable
2020/06/27
988 - Smallest String Starting From Leaf
2020/06/26
130 - Surrounded Regions
2020/06/23
222 - Count Complete Tree Nodes
2020/06/20
95 - Unique Binary Search Trees II
2020/06/20
83 - Remove Duplicates from Sorted List
2020/06/18
162 - Find Peak Element
2020/06/18
74 - Search a 2D Matrix
2020/06/18
63 - Unique Paths II
2020/06/18
61 - Rotate List
2020/06/18
59 - Spiral Matrix II
2020/06/18
58 - Length of Last Word
2020/06/18
54 - Spiral Matrix
2020/06/17
118 - Pascal’s Triangle
2020/06/17
113 - Path Sum II
2020/06/17
112 - Path Sum
2020/06/17
100 - Same Tree
2020/06/17
90 - Subsets II
2020/06/12
77 - Combinations
2020/06/12
52 - N-Queens II
2020/06/12
51 - N-Queens
2020/06/11
17 - Letter Combinations of a Phone Number
2020/06/11
216 - Combination Sum III
2020/06/11
377 - Combination Sum IV
2020/06/10
39 - Combination Sum
2020/06/10
40 - Combination Sum II
2020/06/09
392 - Is Subsequence
2020/06/08
66 - Plus One
2020/06/08
38 - Count and Say
2020/06/08
213 - House Robber II
2020/06/08
406 - Queue Reconstruction by Height
2020/06/08
231 - Power of Two
2020/06/07
518 - Coin Change 2
2020/06/05
528 - Random Pick with Weight
2020/06/03
1029 - Two City Scheduling
2020/06/03
237 - Delete Node in a Linked List
2020/06/02
746 - Min Cost Climbing Stairs
2020/06/01
226 - Invert Binary Tree
2020/05/31
72 - Edit Distance
2020/05/30
973 - K Closest Points to Origin
2020/05/29
210 - Course Schedule II
2020/05/29
207 - Course Schedule
2020/05/27
886 - Possible Bipartition
2020/05/25
1035 - Uncrossed Lines
2020/05/24
986 - Interval List Intersections
2020/05/22
451 - Sort Characters By Frequency
2020/05/22
76 - Minimum Window Substring
2020/05/22
1277 - Count Square Submatrices with All Ones
2020/05/20
230 - Kth Smallest Element in a BST
2020/05/19
901 - Onine Stock Span
2020/05/18
567 - Permutation in String
2020/05/18
438 - Find All Anagrams in a String
2020/05/16
328 - Odd Even Linked List
2020/05/15
918 - Maximum Sum Circular Subarray
2020/05/14
208 - Implement Trie (Prefix Tree)
2020/05/13
402 - Remove K Digits
2020/05/12
540 - Single Element in a Sorted Array
2020/05/10
997 - Find the Town Judge
2020/05/09
733 - Flood Fill
2020/05/09
1232 - Check If It Is a Straight Line
2020/05/07
Cousins in Binary Tree
2020/05/06
337 - House Robber III
2020/05/04
1009 - Complement of Base 10 Integer
2020/05/03
887 - Super Egg Drop
2020/05/02
98 - Validate Binary Search Tree
2020/05/02
128 - Longest Consecutive Sequence
2020/05/02
106 - Construct Binary Tree from Inorder and Postorder Traversal
2020/05/02
105 - Construct Binary Tree from Preorder and Inorder Traversal
2020/05/01
278 - First Bad Version
2020/04/29
28 - Implement strStr() (KMP Algorithm)
2020/04/29
124 - Binary Tree Maximum Path Sum
2020/04/28
448 - Find All Numbers Disappeard in an Array
2020/04/28
169 - Majority Element
2020/04/27
1143 - Longest Common Subsequence
2020/04/26
437 - Path Sum III
2020/04/26
460 - LFU Cache
2020/04/25
146 - LRU Cache
2020/04/24
201 - Bitwise AND of Numbers Range
2020/04/23
560 Subarray Sum Equals K
2020/04/22
Leftmost Column with at Least a One
2020/04/21
1008 - Construct Binary Search Tree from Preorder Traversal
2020/04/19
46 - Permutations
2020/04/19
47 - Permutations II
2020/04/17
200 - Number of Islands
2020/04/16
678 - Valid Parenthesis String
2020/04/15
Perform String Shifts
2020/04/13
525 - Contiguous Array
2020/04/13
1046 - Last Stone Weight
2020/04/11
543 - Diameter of Binary Tree
2020/04/10
155 - Min Stack
2020/04/09
844 - Backspace String Compare
2020/04/08
876 - Middle of the Linked List
2020/04/07
49 - Group Anagrams
2020/04/06
215 - Kth Largest Element in an Array
2020/04/05
416 - Partition Equal Subset Sum
2020/04/04
283 - Move Zeros
2020/04/04
494 - Target Sum
2020/04/02
338 - Counting Bits
2020/04/02
202 - Happy Number
2020/04/01
136 - Single Number
2020/03/31
5 - Longest Palindromic Substring
2020/03/31
647 - Palindromic Substrings
2020/03/31
279 - Perfect Squares
2020/03/30
221 - Maximal Square
2020/03/30
96 - Unique Binary Search Trees
2020/03/29
152 - Maximum Product Subarray
2020/03/28
322 - Coin Change
2020/03/28
300 - Longest Increasing Subsequence
2020/03/27
198 - House Robber
2020/03/25
91 - Decode Ways
2020/03/25
101 - Symmetric Tree
2020/03/25
21 - Merge Two Sorted Lists
2020/03/25
104 - Maximum Depth of Binary Tree
2020/03/24
309 - Best Time to Buy and Sell Stock with Cooldown
2020/03/24
188 - Best Time to Buy and Sell Stock IV
2020/03/24
123 - Best Time to Buy and Sell Stock III
2020/03/24
122 - Best Time to Buy and Sell Stock II
2020/03/24
121 - Best Time to Buy and Sell Stock
2020/03/24
85 - Maximal Rectangle
2020/03/23
84 - Largest Rectangle in Histogram
2020/03/22
1306 - Jump Game III
2020/03/22
45 - Jump Game II
2020/03/21
62 - Unique Paths
2020/03/21
509 - Fibonacci Number
2020/03/21
91 - Decode Ways
2020/03/21
70 - Climbing Stairs
2020/03/21
55 - Jump Game
2020/03/21
53 - Maximum Subarray
2020/03/21
48 - Rotate Image
2020/03/21
41 - First Missing Positive
2020/03/14
79 - Word Search
2020/03/07
78 - Subsets
2020/03/06
75 - Sort Colors
2020/03/04
64 - Minimum Path Sum