leetcode-solution
leetcode-solution copied to clipboard
todo list
- [x] Intersection of Two Linked Lists
- [ ] Min Stack
- [x] Find Minimum in Rotated Sorted Array II
- [x] Find Minimum in Rotated Sorted Array
- [x] Maximum Product Subarray
- [ ] Reverse Words in a String
- [ ] Evaluate Reverse Polish Notation
- [ ] Max Points on a Line
- [x] Sort List
- [x] Insertion Sort List
- [ ] LRU Cache
- [x] Binary Tree Postorder Traversal
- [x] Binary Tree Preorder Traversal
- [x] Reorder List
- [x] Linked List Cycle II
- [x] Linked List Cycle
- [x] Word Break II
- [x] Word Break
- [x] Copy List with Random Pointer
- [ ] Single Number II
- [ ] Single Number
- [x] Candy
- [x] Gas Station
- [ ] Clone Graph
- [ ] Palindrome Partitioning II
- [ ] Palindrome Partitioning
- [ ] Surrounded Regions
- [ ] Sum Root to Leaf Numbers
- [ ] Longest Consecutive Sequence
- [ ] Word Ladder II
- [ ] Word Ladder
- [ ] Valid Palindrome
- [ ] Binary Tree Maximum Path Sum
- [x] Best Time to Buy and Sell Stock III
- [x] Best Time to Buy and Sell Stock II
- [x] Best Time to Buy and Sell Stock
- [x] Triangle
- [x] Pascal's Triangle II
- [x] Pascal's Triangle
- [x] Populating Next Right Pointers in Each Node II
- [x] Populating Next Right Pointers in Each Node
- [ ] Distinct Subsequences
- [x] Flatten Binary Tree to Linked List
- [x] Path Sum II
- [x] Path Sum
- [x] Minimum Depth of Binary Tree
- [x] Balanced Binary Tree
- [x] Convert Sorted List to Binary Search Tree
- [x] Convert Sorted Array to Binary Search Tree
- [x] Binary Tree Level Order Traversal II
- [x] Construct Binary Tree from Inorder and Postorder Traversal
- [x] Construct Binary Tree from Preorder and Inorder Traversal
- [x] Maximum Depth of Binary Tree
- [x] Binary Tree Zigzag Level Order Traversal
- [x] Binary Tree Level Order Traversal
- [x] Symmetric Tree
- [x] Same Tree
- [x] Recover Binary Search Tree
- [x] Validate Binary Search Tree
- [ ] Interleaving String
- [x] Unique Binary Search Trees II
- [x] Unique Binary Search Trees
- [x] Binary Tree Inorder Traversal
- [ ] Restore IP Addresses
- [ ] Reverse Linked List II
- [x] Subsets II
- [ ] Decode Ways
- [ ] Gray Code
- [ ] Merge Sorted Array
- [ ] Scramble String
- [x] Partition List
- [x] Maximal Rectangle
- [x] Largest Rectangle in Histogram
- [x] Remove Duplicates from Sorted List II
- [x] Remove Duplicates from Sorted List
- [ ] Search in Rotated Sorted Array II
- [x] Remove Duplicates from Sorted Array II
- [ ] Word Search
- [x] Subsets
- [x] Combinations
- [ ] Minimum Window Substring
- [ ] Sort Colors
- [x] Search a 2D Matrix
- [ ] Set Matrix Zeroes
- [ ] Edit Distance
- [ ] Simplify Path
- [x] Climbing Stairs
- [ ] Sqrt(x)
- [ ] Text Justification
- [x] Plus One
- [ ] Valid Number
- [x] Add Binary
- [x] Merge Two Sorted Lists
- [ ] Minimum Path Sum
- [x] Unique Paths II
- [x] Unique Paths
- [x] Rotate List
- [ ] Permutation Sequence
- [ ] Spiral Matrix II
- [ ] Length of Last Word
- [ ] Insert Interval
- [ ] Merge Intervals
- [x] Jump Game
- [ ] Spiral Matrix
- [ ] Maximum Subarray
- [ ] N-Queens II
- [ ] N-Queens
- [ ] Pow(x, n)
- [ ] Anagrams
- [ ] Rotate Image
- [x] Permutations II
- [x] Permutations
- [x] Jump Game II
- [ ] Wildcard Matching
- [ ] Multiply Strings
- [ ] Trapping Rain Water
- [ ] First Missing Positive
- [x] Combination Sum II
- [x] Combination Sum
- [ ] Count and Say
- [ ] Sudoku Solver
- [ ] Valid Sudoku
- [x] Search Insert Position
- [x] Search for a Range
- [ ] Search in Rotated Sorted Array
- [ ] Longest Valid Parentheses
- [ ] Next Permutation
- [ ] Substring with Concatenation of All Words
- [ ] Divide Two Integers
- [ ] Implement strStr()
- [x] Remove Element
- [x] Remove Duplicates from Sorted Array
- [ ] Reverse Nodes in k-Group
- [x] Swap Nodes in Pairs
- [x] Merge k Sorted Lists
- [ ] Generate Parentheses
- [ ] Valid Parentheses
- [ ] Remove Nth Node From End of List
- [x] Letter Combinations of a Phone Number
- [x] 4Sum
- [x] 3Sum Closest
- [x] 3Sum
- [ ] Longest Common Prefix
- [ ] Roman to Integer
- [ ] Integer to Roman
- [ ] Container With Most Water
- [ ] Regular Expression Matching
- [x] Palindrome Number
- [ ] String to Integer (atoi)
- [x] Find Peak Element
- [x] Reverse Integer
- [ ] ZigZag Conversion
- [ ] Longest Palindromic Substring
- [x] Add Two Numbers
- [ ] Longest Substring Without Repeating Characters
- [ ] Median of Two Sorted Arrays
- [x] Two Sum