LeetCode OJ Problems Pick One!SubmissionsDiscussDonate Welcome,! You have solved143 / 150problems. Title Add Date AC Rates Single Number 2013-10-01 45.3% Maximum Depth of Binary Tree 2012-09-29 45.2% Same Tree 2012-09-03 42.8% Reverse Integer 2011-12-25 40.6% Unique Binary Search Trees 2012-08-27 35.4% Best Time to Buy and Sell Stock II 2012-10-30 35.3% Linked List Cycle 2013-10-28 35.1% Search Insert Position 2012-03-03 34.3% Remove Duplicates from Sorted List 2012-04-22 34.2% Populating Next Right Pointers in Each Node 2012-10-28 34.1% Binary Tree Preorder Traversal 2013-11-05 33.7% Binary Tree Inorder Traversal 2012-08-27 33.6% Remove Duplicates from Sorted Array 2012-02-16 33.1% Remove Element 2012-02-16 33.0% Maximum Subarray 2012-03-21 32.8% Climbing Stairs 2012-04-03 32.7% Roman to Integer 2012-01-15 32.4% Merge Two Sorted Lists 2012-03-30 32.3% Symmetric Tree 2012-09-23 32.3% Convert Sorted Array to Binary Search Tree 2012-10-02 32.0% Merge Sorted Array 2012-05-20 31.9% Swap Nodes in Pairs 2012-02-14 31.8% Pascal's Triangle 2012-10-28 31.5% Best Time to Buy and Sell Stock 2012-10-30 31.4% Balanced Binary Tree 2012-10-08 31.3% Integer to Roman 2012-01-15 31.2% Gray Code 2012-05-20 31.0% Single Number II 2013-10-02 30.9% Binary Tree Level Order Traversal II 2012-10-01 30.8% Permutations 2012-03-16 30.8% Generate Parentheses 2012-02-12 30.5% Unique Paths 2012-03-28 30.3% Minimum Path Sum 2012-03-28 30.2% Linked List Cycle II 2013-10-30 30.1% Rotate Image 2012-03-17 30.1% Binary Tree Level Order Traversal 2012-09-28 29.9% Sort Colors 2012-04-08 29.8% Set Matrix Zeroes 2012-04-05 29.8% Plus One 2012-04-02 29.8% Search a 2D Matrix 2012-04-06 29.8% Binary Tree Postorder Traversal 2013-11-07 29.7% Container With Most Water 2012-01-08 29.7% Remove Duplicates from Sorted Array II 2012-04-19 29.6% Remove Nth Node From End of List 2012-01-27 29.5% Path Sum 2012-10-13 29.5% Combinations 2012-04-18 29.5% Pascal's Triangle II 2012-10-28 29.4% Spiral Matrix II 2012-03-27 29.3% Palindrome Number 2012-01-04 28.9% Populating Next Right Pointers in Each Node II 2012-10-28 28.9% Search in Rotated Sorted Array II 2012-04-19 28.9% Minimum Depth of Binary Tree 2012-10-09 28.3% Sum Root to Leaf Numbers 2013-02-18 28.1% Search in Rotated Sorted Array 2012-03-02 27.8% Valid Parentheses 2012-01-30 27.5% Trapping Rain Water 2012-03-10 27.3% 3Sum Closest 2012-01-18 27.2% Length of Last Word 2012-03-27 27.0% Subsets 2012-04-18 26.9% Longest Common Prefix 2012-01-17 26.8% Path Sum II 2012-10-14 26.8% Convert Sorted List to Binary Search Tree 2012-10-02 26.7% Subsets II 2012-06-25 26.6% Jump Game 2012-03-24 26.5% Unique Paths II 2012-03-28 26.5% Search for a Range 2012-03-02 26.5% Valid Sudoku 2012-03-03 26.5% N-Queens II 2012-03-20 26.4% Count and Say 2012-03-05 26.2% Longest Consecutive Sequence 2013-02-13 26.1% Partition List 2012-04-30 25.8% Flatten Binary Tree to Linked List 2012-10-14 25.8% Binary Tree Zigzag Level Order Traversal 2012-09-28 25.7% Triangle 2012-10-29 25.7% Unique Binary Search Trees II 2012-08-27 25.6% Combination Sum 2012-03-06 25.5% Pow(x, n) 2012-03-19 25.5% Insertion Sort List 2013-11-12 25.4% Validate Binary Search Tree 2012-08-31 25.3% Permutations II 2012-03-16 25.3% Next Permutation 2012-02-25 25.2% N-Queens 2012-03-19 25.1% Construct Binary Tree from Inorder and Postorder Traversal 2012-09-30 24.7% Reverse Linked List II 2012-06-27 24.7% Add Binary 2012-04-02 24.7% Construct Binary Tree from Preorder and Inorder Traversal 2012-09-30 24.6% Letter Combinations of a Phone Number 2012-01-26 24.5% Remove Duplicates from Sorted List II 2012-04-22 24.4% Palindrome Partitioning 2013-02-27 24.3% Edit Distance 2012-04-04 24.1% Gas Station 2013-09-28 23.2% Reverse Nodes in k-Group 2012-02-15 23.1% Distinct Subsequences 2012-10-18 22.9% Combination Sum II 2012-03-06 22.9% Longest Substring Without Repeating Characters 2011-05-15 22.7% Jump Game II 2012-03-16 22.6% Merge k Sorted Lists 2012-02-13 22.4% Anagrams 2012-03-19 22.4% Add Two Numbers 2011-11-01 22.3% ZigZag Conversion 2011-12-05 21.9% Two Sum 2011-03-13 21.9% Sqrt(x) 2012-04-03 21.4% 4Sum 2012-01-26 21.4% Rotate List 2012-03-27 21.3% Best Time to Buy and Sell Stock III 2012-11-06 21.3% Valid Palindrome 2013-01-12 21.3% Recover Binary Search Tree 2012-09-01 21.1% First Missing Positive 2012-03-08 21.0% Longest Palindromic Substring 2011-11-11 20.8% Permutation Sequence 2012-03-27 20.4% Maximal Rectangle 2012-04-23 20.3% Scramble String 2012-04-30 20.2% Insert Interval 2012-03-27 20.1% Copy List with Random Pointer 2013-10-03 19.8% Implement strStr() 2012-02-18 19.8% Merge Intervals 2012-03-26 19.7% Restore IP Addresses 2012-08-07 19.6% Clone Graph 2013-09-24 19.6% Largest Rectangle in Histogram 2012-04-22 19.6% Sudoku Solver 2012-03-04 19.6% Spiral Matrix 2012-03-24 19.5% Word Search 2012-04-18 19.2% Multiply Strings 2012-03-12 19.0% Regular Expression Matching 2012-01-08 18.9% Evaluate Reverse Polish Notation 2013-11-27 18.8% Binary Tree Maximum Path Sum 2012-11-07 18.6% Word Break 2013-10-04 18.6% Sort List 2013-11-16 18.3% Simplify Path 2012-04-03 18.3% Longest Valid Parentheses 2012-02-29 18.2% Reorder List 2013-11-02 18.1% Interleaving String 2012-08-30 17.8% Palindrome Partitioning II 2013-02-28 16.9% 3Sum 2012-01-17 16.8% Minimum Window Substring 2012-04-15 16.6% Substring with Concatenation of All Words 2012-02-23 16.4% Candy 2013-09-30 16.0% Median of Two Sorted Arrays 2011-03-27 15.8% Word Ladder 2013-02-10 15.6% Decode Ways 2012-06-25 15.3% Divide Two Integers 2012-02-18 15.2% Surrounded Regions 2013-02-21 14.5% String to Integer (atoi) 2011-12-26 14.5% Text Justification 2012-04-03 13.1% Word Break II 2013-10-05 13.0% LRU Cache 2013-11-09 12.1% Wildcard Matching 2012-03-15 11.5% Valid Number 2012-04-02 10.0% Max Points on a Line 2013-11-22 9.7% Word Ladder II 2013-02-10 8.4% Frequently Asked Questions Copyright © 2013 LeetCode Send Feedback