經典必會Hard題

  • 4 Median of Two Sorted Arrays
  • *10 Regular Expression Matching
  • 23 Merge k Sorted Lists
  • 25 Reverse Nodes in k-Group
  • *30 Substring with Concatenation of All Words
  • 32 Longest Valid Parentheses
  • 37 Sudoku Solver
  • *41 First Missing Positive
  • 42 Trapping Rain Water
  • *44 Wildcard Matching
  • *60 Permutation Sequence
  • 68 Text Justification
  • 72 Edit Distance
  • 76 Minimum Window Substring
  • 84 Largest Rectangle in Histogram
  • 85 Maximal Rectangle
  • 87 Scramble String
  • *115 Distinct Subsequences
  • 123 Best Time to Buy and Sell Stock III
  • *124 Binary Tree Maximum Path Sum
  • 126 Word Ladder II
  • 127 Word Ladder
  • 132 Palindrome Partitioning II
  • 135 Candy
  • 140 Word Break II
  • 154 Find Minimum in Rotated Sorted Array II
  • *164 Maximum Gap
  • 174 Dungeon Game
  • 188 Best Time to Buy and Sell Stock IV
  • *212 Word Search II
  • 214 Shortest Palindrome
  • 224 Basic Calculator
  • 239 Sliding Window Maximum
  • *273 Integer to English Words
  • 265 Paint House II (Premium)
  • 295 Find Median from Data Stream
  • 297 Serialize and Deserialize Binary Tree
  • 301 Remove Invalid Parentheses
  • *315 Count of Smaller Numbers After Self
  • *329 Longest Increasing Path in a Matrix
  • *335 Self Crossing
  • *330 Patching Array
  • *336 Palindrome Pairs
  • 352 Data Stream as Disjoint Intervals
  • *354 Russian Doll Envelopes
  • 363 Max Sum of Rectangle No Larger Than K
  • 381 Insert Delete GetRandom O(1) - Duplicates allowed
  • *410 Split Array Largest Sum
  • *480 Sliding Window Median
  • 727 Minimum Window Subsequence (Premium)
  • 768 Max Chunks To Make Sorted II
  • 773 Sliding Puzzle
  • 793 Preimage Size of Factorial Zeroes Function
  • 857 Minimum Cost to Hire K Workers
  • 895 Maximum Frequency Stack
  • *940 Distinct Subsequences II
  • 980 Unique Paths III
  • *987 Vertical Order Traversal of a Binary Tree
  • *996 Number of Squareful Arrays
  • 1373 Maximum Sum BST in Binary Tree