LeetCode My LeetCode Repo. Update time: 2022-07-04(Mon) 15:03:09 Summary 🤩 简单 🤔 一般 🤯 困难 53/698 32/1426 6/570 Progress 序号 名称 难度 状态 1 Two Sum 🤩 简单 ✅ 2 Add Two Numbers 🤔 一般 ✅ 3 Longest Substring Without Repeating Characters 🤔 一般 ✅ 4 Median of Two Sorted Arrays 🤯 困难 ✅ 5 Longest Palindromic Substring 🤔 一般 ✅ 6 ZigZag Conversion 🤔 一般 🕐 7 Reverse Integer 🤔 一般 ✅ 8 String to Integer (atoi) 🤔 一般 🕐 9 Palindrome Number 🤩 简单 ✅ 10 Regular Expression Matching 🤯 困难 🕐 11 Container With Most Water 🤔 一般 🕐 12 Integer to Roman 🤔 一般 ✅ 13 Roman to Integer 🤩 简单 🕐 14 Longest Common Prefix 🤩 简单 🕐 15 3Sum 🤔 一般 🆖 16 3Sum Closest 🤔 一般 🕐 17 Letter Combinations of a Phone Number 🤔 一般 🕐 18 4Sum 🤔 一般 🕐 19 Remove Nth Node From End of List 🤔 一般 🕐 20 Valid Parentheses 🤩 简单 🕐 21 Merge Two Sorted Lists 🤩 简单 🕐 22 Generate Parentheses 🤔 一般 🆖 23 Merge k Sorted Lists 🤯 困难 🕐 24 Swap Nodes in Pairs 🤔 一般 🕐 25 Reverse Nodes in k-Group 🤯 困难 🕐 26 Remove Duplicates from Sorted Array 🤩 简单 🕐 27 Remove Element 🤩 简单 🕐 28 Implement strStr() 🤩 简单 🕐 29 Divide Two Integers 🤔 一般 🕐 30 Substring with Concatenation of All Words 🤯 困难 ✅ 31 Next Permutation 🤔 一般 🕐 32 Longest Valid Parentheses 🤯 困难 🕐 33 Search in Rotated Sorted Array 🤔 一般 🕐 34 Find First and Last Position of Element in Sorted Array 🤔 一般 🕐 35 Search Insert Position 🤩 简单 ✅ 36 Valid Sudoku 🤔 一般 🕐 37 Sudoku Solver 🤯 困难 🕐 38 Count and Say 🤔 一般 🕐 39 Combination Sum 🤔 一般 🕐 40 Combination Sum II 🤔 一般 🕐 41 First Missing Positive 🤯 困难 🕐 42 Trapping Rain Water 🤯 困难 🕐 43 Multiply Strings 🤔 一般 🕐 44 Wildcard Matching 🤯 困难 🕐 45 Jump Game II 🤔 一般 🕐 46 Permutations 🤔 一般 🕐 47 Permutations II 🤔 一般 🕐 48 Rotate Image 🤔 一般 🕐 49 Group Anagrams 🤔 一般 🕐 50 Pow(x, n) 🤔 一般 🕐 51 N-Queens 🤯 困难 🕐 52 N-Queens II 🤯 困难 🕐 53 Maximum Subarray 🤩 简单 ✅ 54 Spiral Matrix 🤔 一般 🕐 55 Jump Game 🤔 一般 🕐 56 Merge Intervals 🤔 一般 🆖 57 Insert Interval 🤔 一般 🕐 58 Length of Last Word 🤩 简单 🕐 59 Spiral Matrix II 🤔 一般 🕐 60 Permutation Sequence 🤯 困难 🕐 61 Rotate List 🤔 一般 🕐 62 Unique Paths 🤔 一般 🕐 63 Unique Paths II 🤔 一般 🕐 64 Minimum Path Sum 🤔 一般 🕐 65 Valid Number 🤯 困难 🕐 66 Plus One 🤩 简单 🕐 67 Add Binary 🤩 简单 🕐 68 Text Justification 🤯 困难 🕐 69 Sqrt(x) 🤩 简单 🕐 70 Climbing Stairs 🤩 简单 🕐 71 Simplify Path 🤔 一般 ✅ 72 Edit Distance 🤯 困难 🕐 73 Set Matrix Zeroes 🤔 一般 🕐 74 Search a 2D Matrix 🤔 一般 🕐 75 Sort Colors 🤔 一般 🕐 76 Minimum Window Substring 🤯 困难 🕐 77 Combinations 🤔 一般 🕐 78 Subsets 🤔 一般 🕐 79 Word Search 🤔 一般 🕐 80 Remove Duplicates from Sorted Array II 🤔 一般 🕐 81 Search in Rotated Sorted Array II 🤔 一般 🕐 82 Remove Duplicates from Sorted List II 🤔 一般 🕐 83 Remove Duplicates from Sorted List 🤩 简单 🕐 84 Largest Rectangle in Histogram 🤯 困难 🕐 85 Maximal Rectangle 🤯 困难 🕐 86 Partition List 🤔 一般 🕐 87 Scramble String 🤯 困难 🕐 88 Merge Sorted Array 🤩 简单 🕐 89 Gray Code 🤔 一般 ✅ 90 Subsets II 🤔 一般 🕐 91 Decode Ways 🤔 一般 🕐 92 Reverse Linked List II 🤔 一般 🕐 93 Restore IP Addresses 🤔 一般 🕐 94 Binary Tree Inorder Traversal 🤩 简单 🕐 95 Unique Binary Search Trees II 🤔 一般 🕐 96 Unique Binary Search Trees 🤔 一般 🕐 97 Interleaving String 🤔 一般 🕐 98 Validate Binary Search Tree 🤔 一般 🕐 99 Recover Binary Search Tree 🤔 一般 🕐 100 Same Tree 🤩 简单 🕐 101 Symmetric Tree 🤩 简单 🕐 102 Binary Tree Level Order Traversal 🤔 一般 🕐 103 Binary Tree Zigzag Level Order Traversal 🤔 一般 🕐 104 Maximum Depth of Binary Tree 🤩 简单 🕐 105 Construct Binary Tree from Preorder and Inorder Traversal 🤔 一般 🕐 106 Construct Binary Tree from Inorder and Postorder Traversal 🤔 一般 🕐 107 Binary Tree Level Order Traversal II 🤔 一般 🕐 108 Convert Sorted Array to Binary Search Tree 🤩 简单 🕐 109 Convert Sorted List to Binary Search Tree 🤔 一般 🕐 110 Balanced Binary Tree 🤩 简单 🕐 111 Minimum Depth of Binary Tree 🤩 简单 🕐 112 Path Sum 🤩 简单 🕐 113 Path Sum II 🤔 一般 🕐 114 Flatten Binary Tree to Linked List 🤔 一般 🕐 115 Distinct Subsequences 🤯 困难 🕐 116 Populating Next Right Pointers in Each Node 🤔 一般 🕐 117 Populating Next Right Pointers in Each Node II 🤔 一般 🕐 118 Pascal's Triangle 🤩 简单 🕐 119 Pascal's Triangle II 🤩 简单 ✅ 120 Triangle 🤔 一般 🕐 121 Best Time to Buy and Sell Stock 🤩 简单 🕐 122 Best Time to Buy and Sell Stock II 🤔 一般 🕐 123 Best Time to Buy and Sell Stock III 🤯 困难 🕐 124 Binary Tree Maximum Path Sum 🤯 困难 🕐 125 Valid Palindrome 🤩 简单 🕐 126 Word Ladder II 🤯 困难 🕐 127 Word Ladder 🤯 困难 🕐 128 Longest Consecutive Sequence 🤔 一般 🕐 129 Sum Root to Leaf Numbers 🤔 一般 🕐 130 Surrounded Regions 🤔 一般 🕐 131 Palindrome Partitioning 🤔 一般 🕐 132 Palindrome Partitioning II 🤯 困难 🕐 133 Clone Graph 🤔 一般 🕐 134 Gas Station 🤔 一般 🕐 135 Candy 🤯 困难 🕐 136 Single Number 🤩 简单 🕐 137 Single Number II 🤔 一般 🕐 138 Copy List with Random Pointer 🤔 一般 🕐 139 Word Break 🤔 一般 🕐 140 Word Break II 🤯 困难 🕐 141 Linked List Cycle 🤩 简单 🕐 142 Linked List Cycle II 🤔 一般 🕐 143 Reorder List 🤔 一般 🕐 144 Binary Tree Preorder Traversal 🤩 简单 🕐 145 Binary Tree Postorder Traversal 🤩 简单 🕐 146 LRU Cache 🤔 一般 🕐 147 Insertion Sort List 🤔 一般 🕐 148 Sort List 🤔 一般 🕐 149 Max Points on a Line 🤯 困难 🕐 150 Evaluate Reverse Polish Notation 🤔 一般 🕐 151 Reverse Words in a String 🤔 一般 🕐 152 Maximum Product Subarray 🤔 一般 🕐 153 Find Minimum in Rotated Sorted Array 🤔 一般 🕐 154 Find Minimum in Rotated Sorted Array II 🤯 困难 🕐 155 Min Stack 🤩 简单 🕐 156 Binary Tree Upside Down 🤔 一般 🕐 157 Read N Characters Given Read4 🤩 简单 🕐 158 Read N Characters Given Read4 II - Call multiple times 🤯 困难 🕐 159 Longest Substring with At Most Two Distinct Characters 🤔 一般 🕐 160 Intersection of Two Linked Lists 🤩 简单 🕐 161 One Edit Distance 🤔 一般 🕐 162 Find Peak Element 🤔 一般 ✅ 163 Missing Ranges 🤩 简单 🕐 164 Maximum Gap 🤯 困难 🕐 165 Compare Version Numbers 🤔 一般 ✅ 166 Fraction to Recurring Decimal 🤔 一般 🕐 167 Two Sum II - Input Array Is Sorted 🤩 简单 🕐 168 Excel Sheet Column Title 🤩 简单 🕐 169 Majority Element 🤩 简单 ✅ 170 Two Sum III - Data structure design 🤩 简单 🕐 171 Excel Sheet Column Number 🤩 简单 🕐 172 Factorial Trailing Zeroes 🤔 一般 🕐 173 Binary Search Tree Iterator 🤔 一般 🕐 174 Dungeon Game 🤯 困难 🕐 179 Largest Number 🤔 一般 🕐 186 Reverse Words in a String II 🤔 一般 🕐 187 Repeated DNA Sequences 🤔 一般 🕐 188 Best Time to Buy and Sell Stock IV 🤯 困难 🕐 189 Rotate Array 🤔 一般 🕐 190 Reverse Bits 🤩 简单 🕐 191 Number of 1 Bits 🤩 简单 ✅ 198 House Robber 🤔 一般 🕐 199 Binary Tree Right Side View 🤔 一般 🕐 200 Number of Islands 🤔 一般 🕐 201 Bitwise AND of Numbers Range 🤔 一般 🕐 202 Happy Number 🤩 简单 🕐 203 Remove Linked List Elements 🤩 简单 🕐 204 Count Primes 🤔 一般 🕐 205 Isomorphic Strings 🤩 简单 🕐 206 Reverse Linked List 🤩 简单 🕐 207 Course Schedule 🤔 一般 ✅ 208 Implement Trie (Prefix Tree) 🤔 一般 🕐 209 Minimum Size Subarray Sum 🤔 一般 🕐 210 Course Schedule II 🤔 一般 🕐 211 Design Add and Search Words Data Structure 🤔 一般 🕐 212 Word Search II 🤯 困难 🕐 213 House Robber II 🤔 一般 🕐 214 Shortest Palindrome 🤯 困难 🕐 215 Kth Largest Element in an Array 🤔 一般 ✅ 216 Combination Sum III 🤔 一般 🕐 217 Contains Duplicate 🤩 简单 🕐 218 The Skyline Problem 🤯 困难 🕐 219 Contains Duplicate II 🤩 简单 🕐 220 Contains Duplicate III 🤔 一般 🕐 221 Maximal Square 🤔 一般 🕐 222 Count Complete Tree Nodes 🤔 一般 🕐 223 Rectangle Area 🤔 一般 🕐 224 Basic Calculator 🤯 困难 🕐 225 Implement Stack using Queues 🤩 简单 🕐 226 Invert Binary Tree 🤩 简单 🕐 227 Basic Calculator II 🤔 一般 🕐 228 Summary Ranges 🤩 简单 🕐 229 Majority Element II 🤔 一般 🕐 230 Kth Smallest Element in a BST 🤔 一般 🕐 231 Power of Two 🤩 简单 ✅ 232 Implement Queue using Stacks 🤩 简单 🕐 233 Number of Digit One 🤯 困难 ✅ 234 Palindrome Linked List 🤩 简单 🕐 235 Lowest Common Ancestor of a Binary Search Tree 🤩 简单 ✅ 236 Lowest Common Ancestor of a Binary Tree 🤔 一般 🕐 237 Delete Node in a Linked List 🤩 简单 🕐 238 Product of Array Except Self 🤔 一般 🕐 239 Sliding Window Maximum 🤯 困难 🕐 240 Search a 2D Matrix II 🤔 一般 🕐 241 Different Ways to Add Parentheses 🤔 一般 🕐 242 Valid Anagram 🤩 简单 🕐 243 Shortest Word Distance 🤩 简单 🕐 244 Shortest Word Distance II 🤔 一般 🕐 245 Shortest Word Distance III 🤔 一般 🕐 246 Strobogrammatic Number 🤩 简单 🕐 247 Strobogrammatic Number II 🤔 一般 🕐 248 Strobogrammatic Number III 🤯 困难 🕐 249 Group Shifted Strings 🤔 一般 🕐 250 Count Univalue Subtrees 🤔 一般 🕐 251 Flatten 2D Vector 🤔 一般 🕐 252 Meeting Rooms 🤩 简单 🕐 253 Meeting Rooms II 🤔 一般 🕐 254 Factor Combinations 🤔 一般 🕐 255 Verify Preorder Sequence in Binary Search Tree 🤔 一般 🕐 256 Paint House 🤔 一般 🕐 257 Binary Tree Paths 🤩 简单 🕐 258 Add Digits 🤩 简单 🕐 259 3Sum Smaller 🤔 一般 🕐 260 Single Number III 🤔 一般 🕐 261 Graph Valid Tree 🤔 一般 🕐 263 Ugly Number 🤩 简单 🕐 264 Ugly Number II 🤔 一般 🕐 265 Paint House II 🤯 困难 🕐 266 Palindrome Permutation 🤩 简单 🕐 267 Palindrome Permutation II 🤔 一般 🕐 268 Missing Number 🤩 简单 🕐 269 Alien Dictionary 🤯 困难 🕐 270 Closest Binary Search Tree Value 🤩 简单 🕐 271 Encode and Decode Strings 🤔 一般 🕐 272 Closest Binary Search Tree Value II 🤯 困难 🕐 273 Integer to English Words 🤯 困难 🕐 274 H-Index 🤔 一般 🕐 275 H-Index II 🤔 一般 🕐 276 Paint Fence 🤔 一般 🕐 277 Find the Celebrity 🤔 一般 🕐 278 First Bad Version 🤩 简单 🕐 279 Perfect Squares 🤔 一般 🕐 280 Wiggle Sort 🤔 一般 🕐 281 Zigzag Iterator 🤔 一般 🕐 282 Expression Add Operators 🤯 困难 🕐 283 Move Zeroes 🤩 简单 🕐 284 Peeking Iterator 🤔 一般 🕐 285 Inorder Successor in BST 🤔 一般 🕐 286 Walls and Gates 🤔 一般 🕐 287 Find the Duplicate Number 🤔 一般 🕐 288 Unique Word Abbreviation 🤔 一般 🕐 289 Game of Life 🤔 一般 🕐 290 Word Pattern 🤩 简单 🕐 291 Word Pattern II 🤔 一般 🕐 292 Nim Game 🤩 简单 ✅ 293 Flip Game 🤩 简单 🕐 294 Flip Game II 🤔 一般 🕐 295 Find Median from Data Stream 🤯 困难 🕐 296 Best Meeting Point 🤯 困难 🕐 297 Serialize and Deserialize Binary Tree 🤯 困难 🕐 298 Binary Tree Longest Consecutive Sequence 🤔 一般 🕐 299 Bulls and Cows 🤔 一般 🕐 300 Longest Increasing Subsequence 🤔 一般 🕐 301 Remove Invalid Parentheses 🤯 困难 🕐 302 Smallest Rectangle Enclosing Black Pixels 🤯 困难 🕐 303 Range Sum Query - Immutable 🤩 简单 🕐 304 Range Sum Query 2D - Immutable 🤔 一般 🕐 305 Number of Islands II 🤯 困难 🕐 306 Additive Number 🤔 一般 🆖 307 Range Sum Query - Mutable 🤔 一般 🕐 308 Range Sum Query 2D - Mutable 🤯 困难 🕐 309 Best Time to Buy and Sell Stock with Cooldown 🤔 一般 ✅ 310 Minimum Height Trees 🤔 一般 🕐 311 Sparse Matrix Multiplication 🤔 一般 🕐 312 Burst Balloons 🤯 困难 🕐 313 Super Ugly Number 🤔 一般 🕐 314 Binary Tree Vertical Order Traversal 🤔 一般 🕐 315 Count of Smaller Numbers After Self 🤯 困难 🕐 316 Remove Duplicate Letters 🤔 一般 🕐 317 Shortest Distance from All Buildings 🤯 困难 🕐 318 Maximum Product of Word Lengths 🤔 一般 🆖 319 Bulb Switcher 🤔 一般 🕐 320 Generalized Abbreviation 🤔 一般 🕐 321 Create Maximum Number 🤯 困难 🕐 322 Coin Change 🤔 一般 ✅ 323 Number of Connected Components in an Undirected Graph 🤔 一般 🆖 324 Wiggle Sort II 🤔 一般 🕐 325 Maximum Size Subarray Sum Equals k 🤔 一般 🕐 326 Power of Three 🤩 简单 ✅ 327 Count of Range Sum 🤯 困难 🕐 328 Odd Even Linked List 🤔 一般 🕐 329 Longest Increasing Path in a Matrix 🤯 困难 🕐 330 Patching Array 🤯 困难 🕐 331 Verify Preorder Serialization of a Binary Tree 🤔 一般 🕐 332 Reconstruct Itinerary 🤯 困难 🕐 333 Largest BST Subtree 🤔 一般 🕐 334 Increasing Triplet Subsequence 🤔 一般 ✅ 335 Self Crossing 🤯 困难 🆖 336 Palindrome Pairs 🤯 困难 🕐 337 House Robber III 🤔 一般 🕐 338 Counting Bits 🤩 简单 🕐 339 Nested List Weight Sum 🤔 一般 ✅ 340 Longest Substring with At Most K Distinct Characters 🤔 一般 🕐 341 Flatten Nested List Iterator 🤔 一般 ✅ 342 Power of Four 🤩 简单 🕐 343 Integer Break 🤔 一般 ✅ 344 Reverse String 🤩 简单 🕐 345 Reverse Vowels of a String 🤩 简单 🕐 346 Moving Average from Data Stream 🤩 简单 🕐 347 Top K Frequent Elements 🤔 一般 🕐 348 Design Tic-Tac-Toe 🤔 一般 🕐 349 Intersection of Two Arrays 🤩 简单 🕐 350 Intersection of Two Arrays II 🤩 简单 🕐 351 Android Unlock Patterns 🤔 一般 ✅ 352 Data Stream as Disjoint Intervals 🤯 困难 🕐 353 Design Snake Game 🤔 一般 🕐 354 Russian Doll Envelopes 🤯 困难 🕐 355 Design Twitter 🤔 一般 🕐 356 Line Reflection 🤔 一般 🕐 357 Count Numbers with Unique Digits 🤔 一般 🕐 358 Rearrange String k Distance Apart 🤯 困难 🕐 359 Logger Rate Limiter 🤩 简单 🕐 360 Sort Transformed Array 🤔 一般 🕐 361 Bomb Enemy 🤔 一般 🕐 362 Design Hit Counter 🤔 一般 🕐 363 Max Sum of Rectangle No Larger Than K 🤯 困难 🕐 364 Nested List Weight Sum II 🤔 一般 🕐 365 Water and Jug Problem 🤔 一般 🕐 366 Find Leaves of Binary Tree 🤔 一般 🕐 367 Valid Perfect Square 🤩 简单 🕐 368 Largest Divisible Subset 🤔 一般 🕐 369 Plus One Linked List 🤔 一般 🕐 370 Range Addition 🤔 一般 🕐 371 Sum of Two Integers 🤔 一般 🕐 372 Super Pow 🤔 一般 🕐 373 Find K Pairs with Smallest Sums 🤔 一般 🆖 374 Guess Number Higher or Lower 🤩 简单 🕐 375 Guess Number Higher or Lower II 🤔 一般 🕐 376 Wiggle Subsequence 🤔 一般 🕐 377 Combination Sum IV 🤔 一般 🕐 378 Kth Smallest Element in a Sorted Matrix 🤔 一般 🕐 379 Design Phone Directory 🤔 一般 🕐 380 Insert Delete GetRandom O(1) 🤔 一般 🕐 381 Insert Delete GetRandom O(1) - Duplicates allowed 🤯 困难 🕐 382 Linked List Random Node 🤔 一般 🕐 383 Ransom Note 🤩 简单 🕐 384 Shuffle an Array 🤔 一般 ✅ 385 Mini Parser 🤔 一般 🕐 386 Lexicographical Numbers 🤔 一般 🕐 387 First Unique Character in a String 🤩 简单 🕐 388 Longest Absolute File Path 🤔 一般 ✅ 389 Find the Difference 🤩 简单 🕐 390 Elimination Game 🤔 一般 🆖 391 Perfect Rectangle 🤯 困难 🕐 392 Is Subsequence 🤩 简单 🕐 393 UTF-8 Validation 🤔 一般 🕐 394 Decode String 🤔 一般 🕐 395 Longest Substring with At Least K Repeating Characters 🤔 一般 🕐 396 Rotate Function 🤔 一般 🕐 397 Integer Replacement 🤔 一般 🕐 398 Random Pick Index 🤔 一般 🕐 399 Evaluate Division 🤔 一般 🕐 400 Nth Digit 🤔 一般 🕐 401 Binary Watch 🤩 简单 🕐 402 Remove K Digits 🤔 一般 🕐 403 Frog Jump 🤯 困难 🕐 404 Sum of Left Leaves 🤩 简单 🕐 405 Convert a Number to Hexadecimal 🤩 简单 🕐 406 Queue Reconstruction by Height 🤔 一般 🕐 407 Trapping Rain Water II 🤯 困难 🕐 408 Valid Word Abbreviation 🤩 简单 🕐 409 Longest Palindrome 🤩 简单 🕐 410 Split Array Largest Sum 🤯 困难 🕐 411 Minimum Unique Word Abbreviation 🤯 困难 🕐 412 Fizz Buzz 🤩 简单 🕐 413 Arithmetic Slices 🤔 一般 🕐 414 Third Maximum Number 🤩 简单 🕐 415 Add Strings 🤩 简单 🕐 416 Partition Equal Subset Sum 🤔 一般 🕐 417 Pacific Atlantic Water Flow 🤔 一般 🕐 418 Sentence Screen Fitting 🤔 一般 🕐 419 Battleships in a Board 🤔 一般 🕐 420 Strong Password Checker 🤯 困难 🕐 421 Maximum XOR of Two Numbers in an Array 🤔 一般 🕐 422 Valid Word Square 🤩 简单 🕐 423 Reconstruct Original Digits from English 🤔 一般 🕐 424 Longest Repeating Character Replacement 🤔 一般 🕐 425 Word Squares 🤯 困难 🕐 432 All O`one Data Structure 🤯 困难 🕐 433 Minimum Genetic Mutation 🤔 一般 🕐 434 Number of Segments in a String 🤩 简单 🕐 435 Non-overlapping Intervals 🤔 一般 🕐 436 Find Right Interval 🤔 一般 🕐 437 Path Sum III 🤔 一般 🕐 438 Find All Anagrams in a String 🤔 一般 🕐 439 Ternary Expression Parser 🤔 一般 🕐 440 K-th Smallest in Lexicographical Order 🤯 困难 🕐 441 Arranging Coins 🤩 简单 🕐 442 Find All Duplicates in an Array 🤔 一般 🕐 443 String Compression 🤔 一般 🕐 444 Sequence Reconstruction 🤔 一般 🕐 445 Add Two Numbers II 🤔 一般 🕐 446 Arithmetic Slices II - Subsequence 🤯 困难 🕐 447 Number of Boomerangs 🤔 一般 ✅ 448 Find All Numbers Disappeared in an Array 🤩 简单 🕐 449 Serialize and Deserialize BST 🤔 一般 🕐 450 Delete Node in a BST 🤔 一般 🕐 451 Sort Characters By Frequency 🤔 一般 🕐 452 Minimum Number of Arrows to Burst Balloons 🤔 一般 🕐 453 Minimum Moves to Equal Array Elements 🤩 简单 🕐 454 4Sum II 🤔 一般 🕐 455 Assign Cookies 🤩 简单 🕐 456 132 Pattern 🤔 一般 🆖 457 Circular Array Loop 🤔 一般 🕐 458 Poor Pigs 🤯 困难 🕐 459 Repeated Substring Pattern 🤩 简单 🕐 460 LFU Cache 🤯 困难 🕐 461 Hamming Distance 🤩 简单 🕐 462 Minimum Moves to Equal Array Elements II 🤔 一般 🕐 463 Island Perimeter 🤩 简单 🕐 464 Can I Win 🤔 一般 ✅ 465 Optimal Account Balancing 🤯 困难 🕐 466 Count The Repetitions 🤯 困难 🕐 467 Unique Substrings in Wraparound String 🤔 一般 🕐 468 Validate IP Address 🤔 一般 🕐 469 Convex Polygon 🤔 一般 🕐 471 Encode String with Shortest Length 🤯 困难 🕐 472 Concatenated Words 🤯 困难 🕐 473 Matchsticks to Square 🤔 一般 🕐 474 Ones and Zeroes 🤔 一般 🆖 475 Heaters 🤔 一般 🕐 476 Number Complement 🤩 简单 🕐 477 Total Hamming Distance 🤔 一般 🕐 479 Largest Palindrome Product 🤯 困难 🕐 480 Sliding Window Median 🤯 困难 ✅ 481 Magical String 🤔 一般 🕐 482 License Key Formatting 🤩 简单 🕐 483 Smallest Good Base 🤯 困难 🕐 484 Find Permutation 🤔 一般 🕐 485 Max Consecutive Ones 🤩 简单 🕐 486 Predict the Winner 🤔 一般 🕐 487 Max Consecutive Ones II 🤔 一般 🕐 488 Zuma Game 🤯 困难 🕐 1643 Kth Smallest Instructions 🤯 困难 🕐 490 The Maze 🤔 一般 🕐 491 Increasing Subsequences 🤔 一般 🕐 492 Construct the Rectangle 🤩 简单 🕐 493 Reverse Pairs 🤯 困难 🕐 494 Target Sum 🤔 一般 🕐 495 Teemo Attacking 🤩 简单 🕐 496 Next Greater Element I 🤩 简单 🕐 498 Diagonal Traverse 🤔 一般 🕐 499 The Maze III 🤯 困难 🕐 500 Keyboard Row 🤩 简单 🕐 501 Find Mode in Binary Search Tree 🤩 简单 🕐 502 IPO 🤯 困难 🆖 503 Next Greater Element II 🤔 一般 ✅ 504 Base 7 🤩 简单 🕐 505 The Maze II 🤔 一般 🕐 506 Relative Ranks 🤩 简单 🕐 507 Perfect Number 🤩 简单 🕐 508 Most Frequent Subtree Sum 🤔 一般 🕐 510 Inorder Successor in BST II 🤔 一般 🕐 2031 Count Subarrays With More Ones Than Zeros 🤔 一般 🕐 1059 All Paths from Source Lead to Destination 🤔 一般 🕐 2036 Maximum Alternating Subarray Sum 🤔 一般 🕐 513 Find Bottom Left Tree Value 🤔 一般 🕐 514 Freedom Trail 🤯 困难 🕐 515 Find Largest Value in Each Tree Row 🤔 一般 🕐 516 Longest Palindromic Subsequence 🤔 一般 🕐 517 Super Washing Machines 🤯 困难 🕐 518 Coin Change 2 🤔 一般 🕐 1983 Widest Pair of Indices With Equal Range Sum 🤔 一般 🆖 520 Detect Capital 🤩 简单 🕐 521 Longest Uncommon Subsequence I 🤩 简单 🕐 522 Longest Uncommon Subsequence II 🤔 一般 🕐 523 Continuous Subarray Sum 🤔 一般 🕐 524 Longest Word in Dictionary through Deleting 🤔 一般 ✅ 525 Contiguous Array 🤔 一般 🕐 526 Beautiful Arrangement 🤔 一般 🕐 527 Word Abbreviation 🤯 困难 🕐 1721 Swapping Nodes in a Linked List 🤔 一般 🕐 529 Minesweeper 🤔 一般 🕐 530 Minimum Absolute Difference in BST 🤩 简单 🕐 531 Lonely Pixel I 🤔 一般 🕐 532 K-diff Pairs in an Array 🤔 一般 🕐 533 Lonely Pixel II 🤔 一般 🕐 535 Encode and Decode TinyURL 🤔 一般 🕐 536 Construct Binary Tree from String 🤔 一般 🕐 537 Complex Number Multiplication 🤔 一般 🕐 538 Convert BST to Greater Tree 🤔 一般 🕐 539 Minimum Time Difference 🤔 一般 🕐 540 Single Element in a Sorted Array 🤔 一般 🕐 541 Reverse String II 🤩 简单 🕐 542 01 Matrix 🤔 一般 ✅ 543 Diameter of Binary Tree 🤩 简单 🕐 544 Output Contest Matches 🤔 一般 🕐 545 Boundary of Binary Tree 🤔 一般 🕐 546 Remove Boxes 🤯 困难 🕐 547 Number of Provinces 🤔 一般 🕐 548 Split Array with Equal Sum 🤯 困难 🕐 549 Binary Tree Longest Consecutive Sequence II 🤔 一般 🕐 1730 Shortest Path to Get Food 🤔 一般 🕐 551 Student Attendance Record I 🤩 简单 ✅ 552 Student Attendance Record II 🤯 困难 ✅ 553 Optimal Division 🤔 一般 🕐 554 Brick Wall 🤔 一般 🕐 555 Split Concatenated Strings 🤔 一般 🕐 556 Next Greater Element III 🤔 一般 ✅ 557 Reverse Words in a String III 🤩 简单 ✅ 560 Subarray Sum Equals K 🤔 一般 🕐 561 Array Partition I 🤩 简单 🕐 562 Longest Line of Consecutive One in Matrix 🤔 一般 🕐 563 Binary Tree Tilt 🤩 简单 🕐 564 Find the Closest Palindrome 🤯 困难 🕐 565 Array Nesting 🤔 一般 🕐 566 Reshape the Matrix 🤩 简单 🕐 567 Permutation in String 🤔 一般 🕐 568 Maximum Vacation Days 🤯 困难 🕐 572 Subtree of Another Tree 🤩 简单 🕐 573 Squirrel Simulation 🤔 一般 ✅ 575 Distribute Candies 🤩 简单 🕐 576 Out of Boundary Paths 🤔 一般 🕐 581 Shortest Unsorted Continuous Subarray 🤔 一般 🕐 582 Kill Process 🤔 一般 🕐 583 Delete Operation for Two Strings 🤔 一般 🕐 587 Erect the Fence 🤯 困难 🕐 588 Design In-Memory File System 🤯 困难 🕐 591 Tag Validator 🤯 困难 🕐 592 Fraction Addition and Subtraction 🤔 一般 🕐 593 Valid Square 🤔 一般 🕐 594 Longest Harmonious Subsequence 🤩 简单 🕐 598 Range Addition II 🤩 简单 🕐 599 Minimum Index Sum of Two Lists 🤩 简单 🕐 600 Non-negative Integers without Consecutive Ones 🤯 困难 🕐 604 Design Compressed String Iterator 🤩 简单 🕐 605 Can Place Flowers 🤩 简单 🕐 606 Construct String from Binary Tree 🤩 简单 🕐 609 Find Duplicate File in System 🤔 一般 🕐 611 Valid Triangle Number 🤔 一般 🕐 616 Add Bold Tag in String 🤔 一般 🕐 617 Merge Two Binary Trees 🤩 简单 🕐 621 Task Scheduler 🤔 一般 🕐 623 Add One Row to Tree 🤔 一般 🕐 624 Maximum Distance in Arrays 🤔 一般 🕐 625 Minimum Factorization 🤔 一般 🕐 628 Maximum Product of Three Numbers 🤩 简单 🕐 629 K Inverse Pairs Array 🤯 困难 🕐 630 Course Schedule III 🤯 困难 🕐 631 Design Excel Sum Formula 🤯 困难 🕐 632 Smallest Range Covering Elements from K Lists 🤯 困难 🕐 633 Sum of Square Numbers 🤔 一般 🕐 634 Find the Derangement of An Array 🤔 一般 🕐 635 Design Log Storage System 🤔 一般 🕐 636 Exclusive Time of Functions 🤔 一般 🕐 637 Average of Levels in Binary Tree 🤩 简单 🕐 638 Shopping Offers 🤔 一般 🕐 639 Decode Ways II 🤯 困难 🕐 640 Solve the Equation 🤔 一般 🕐 642 Design Search Autocomplete System 🤯 困难 🕐 643 Maximum Average Subarray I 🤩 简单 🕐 644 Maximum Average Subarray II 🤯 困难 🕐 645 Set Mismatch 🤩 简单 🕐 646 Maximum Length of Pair Chain 🤔 一般 🕐 647 Palindromic Substrings 🤔 一般 🕐 648 Replace Words 🤔 一般 🕐 649 Dota2 Senate 🤔 一般 🕐 650 2 Keys Keyboard 🤔 一般 🕐 651 4 Keys Keyboard 🤔 一般 🕐 652 Find Duplicate Subtrees 🤔 一般 🕐 653 Two Sum IV - Input is a BST 🤩 简单 🕐 654 Maximum Binary Tree 🤔 一般 🕐 655 Print Binary Tree 🤔 一般 🕐 656 Coin Path 🤯 困难 🕐 657 Robot Return to Origin 🤩 简单 🕐 658 Find K Closest Elements 🤔 一般 🕐 659 Split Array into Consecutive Subsequences 🤔 一般 🕐 660 Remove 9 🤯 困难 🕐 661 Image Smoother 🤩 简单 🕐 662 Maximum Width of Binary Tree 🤔 一般 🕐 663 Equal Tree Partition 🤔 一般 🕐 664 Strange Printer 🤯 困难 🕐 665 Non-decreasing Array 🤔 一般 🕐 666 Path Sum IV 🤔 一般 🕐 667 Beautiful Arrangement II 🤔 一般 🕐 668 Kth Smallest Number in Multiplication Table 🤯 困难 🕐 669 Trim a Binary Search Tree 🤔 一般 🕐 670 Maximum Swap 🤔 一般 🕐 671 Second Minimum Node In a Binary Tree 🤩 简单 🕐 672 Bulb Switcher II 🤔 一般 🕐 673 Number of Longest Increasing Subsequence 🤔 一般 🕐 674 Longest Continuous Increasing Subsequence 🤩 简单 🕐 675 Cut Off Trees for Golf Event 🤯 困难 🕐 676 Implement Magic Dictionary 🤔 一般 🕐 677 Map Sum Pairs 🤔 一般 🕐 678 Valid Parenthesis String 🤔 一般 🕐 679 24 Game 🤯 困难 🕐 680 Valid Palindrome II 🤩 简单 🕐 681 Next Closest Time 🤔 一般 🕐 682 Baseball Game 🤩 简单 🕐 683 K Empty Slots 🤯 困难 🕐 684 Redundant Connection 🤔 一般 🕐 685 Redundant Connection II 🤯 困难 🕐 686 Repeated String Match 🤔 一般 🕐 687 Longest Univalue Path 🤔 一般 🕐 688 Knight Probability in Chessboard 🤔 一般 🕐 689 Maximum Sum of 3 Non-Overlapping Subarrays 🤯 困难 🕐 690 Employee Importance 🤔 一般 🕐 691 Stickers to Spell Word 🤯 困难 🕐 692 Top K Frequent Words 🤔 一般 ✅ 693 Binary Number with Alternating Bits 🤩 简单 🕐 694 Number of Distinct Islands 🤔 一般 🕐 695 Max Area of Island 🤔 一般 🕐 696 Count Binary Substrings 🤩 简单 🕐 697 Degree of an Array 🤩 简单 🕐 698 Partition to K Equal Sum Subsets 🤔 一般 🕐 699 Falling Squares 🤯 困难 🕐 711 Number of Distinct Islands II 🤯 困难 🕐 712 Minimum ASCII Delete Sum for Two Strings 🤔 一般 🕐 713 Subarray Product Less Than K 🤔 一般 🕐 714 Best Time to Buy and Sell Stock with Transaction Fee 🤔 一般 🕐 715 Range Module 🤯 困难 🕐 716 Max Stack 🤩 简单 🕐 717 1-bit and 2-bit Characters 🤩 简单 🕐 718 Maximum Length of Repeated Subarray 🤔 一般 🕐 719 Find K-th Smallest Pair Distance 🤯 困难 🕐 720 Longest Word in Dictionary 🤩 简单 🕐 721 Accounts Merge 🤔 一般 🕐 722 Remove Comments 🤔 一般 🕐 723 Candy Crush 🤔 一般 🕐 724 Find Pivot Index 🤩 简单 ✅ 725 Split Linked List in Parts 🤔 一般 ✅ 726 Number of Atoms 🤯 困难 🕐 727 Minimum Window Subsequence 🤯 困难 🕐 728 Self Dividing Numbers 🤩 简单 🕐 729 My Calendar I 🤔 一般 🕐 730 Count Different Palindromic Subsequences 🤯 困难 🕐 731 My Calendar II 🤔 一般 🕐 732 My Calendar III 🤯 困难 🕐 733 Flood Fill 🤩 简单 🕐 734 Sentence Similarity 🤩 简单 🕐 735 Asteroid Collision 🤔 一般 🕐 736 Parse Lisp Expression 🤯 困难 🕐 737 Sentence Similarity II 🤔 一般 🕐 738 Monotone Increasing Digits 🤔 一般 🕐 739 Daily Temperatures 🤔 一般 🕐 740 Delete and Earn 🤔 一般 🕐 741 Cherry Pickup 🤯 困难 🕐 709 To Lower Case 🤩 简单 🕐 742 Closest Leaf in a Binary Tree 🤔 一般 🕐 743 Network Delay Time 🤔 一般 🕐 744 Find Smallest Letter Greater Than Target 🤩 简单 ✅ 745 Prefix and Suffix Search 🤯 困难 🕐 746 Min Cost Climbing Stairs 🤩 简单 🕐 747 Largest Number At Least Twice of Others 🤩 简单 ✅ 748 Shortest Completing Word 🤩 简单 ✅ 749 Contain Virus 🤯 困难 🕐 750 Number Of Corner Rectangles 🤔 一般 🕐 751 IP to CIDR 🤔 一般 🕐 752 Open the Lock 🤔 一般 🕐 753 Cracking the Safe 🤯 困难 ✅ 754 Reach a Number 🤔 一般 🕐 755 Pour Water 🤔 一般 🕐 756 Pyramid Transition Matrix 🤔 一般 🕐 426 Convert Binary Search Tree to Sorted Doubly Linked List 🤔 一般 🕐 757 Set Intersection Size At Least Two 🤯 困难 🕐 758 Bold Words in String 🤔 一般 🕐 759 Employee Free Time 🤯 困难 🕐 760 Find Anagram Mappings 🤩 简单 🕐 761 Special Binary String 🤯 困难 🕐 429 N-ary Tree Level Order Traversal 🤔 一般 🕐 428 Serialize and Deserialize N-ary Tree 🤯 困难 🕐 430 Flatten a Multilevel Doubly Linked List 🤔 一般 🕐 762 Prime Number of Set Bits in Binary Representation 🤩 简单 🕐 763 Partition Labels 🤔 一般 🕐 764 Largest Plus Sign 🤔 一般 🕐 765 Couples Holding Hands 🤯 困难 ✅ 431 Encode N-ary Tree to Binary Tree 🤯 困难 ✅ 427 Construct Quad Tree 🤔 一般 🕐 558 Logical OR of Two Binary Grids Represented as Quad-Trees 🤔 一般 🕐 559 Maximum Depth of N-ary Tree 🤩 简单 🕐 589 N-ary Tree Preorder Traversal 🤩 简单 🕐 590 N-ary Tree Postorder Traversal 🤩 简单 🕐 766 Toeplitz Matrix 🤩 简单 🕐 767 Reorganize String 🤔 一般 🕐 768 Max Chunks To Make Sorted II 🤯 困难 🕐 769 Max Chunks To Make Sorted 🤔 一般 🕐 770 Basic Calculator IV 🤯 困难 🕐 771 Jewels and Stones 🤩 简单 🕐 700 Search in a Binary Search Tree 🤩 简单 🕐 701 Insert into a Binary Search Tree 🤔 一般 🕐 772 Basic Calculator III 🤯 困难 🕐 702 Search in a Sorted Array of Unknown Size 🤔 一般 🕐 773 Sliding Puzzle 🤯 困难 🕐 774 Minimize Max Distance to Gas Station 🤯 困难 🕐 703 Kth Largest Element in a Stream 🤩 简单 🕐 775 Global and Local Inversions 🤔 一般 🕐 776 Split BST 🤔 一般 🕐 704 Binary Search 🤩 简单 ✅ 777 Swap Adjacent in LR String 🤔 一般 🕐 778 Swim in Rising Water 🤯 困难 ✅ 779 K-th Symbol in Grammar 🤔 一般 🕐 780 Reaching Points 🤯 困难 🕐 781 Rabbits in Forest 🤔 一般 🕐 782 Transform to Chessboard 🤯 困难 🕐 783 Minimum Distance Between BST Nodes 🤩 简单 🕐 784 Letter Case Permutation 🤔 一般 🕐 785 Is Graph Bipartite? 🤔 一般 🕐 786 K-th Smallest Prime Fraction 🤯 困难 🕐 787 Cheapest Flights Within K Stops 🤔 一般 🕐 788 Rotated Digits 🤔 一般 🕐 789 Escape The Ghosts 🤔 一般 🕐 790 Domino and Tromino Tiling 🤔 一般 🕐 791 Custom Sort String 🤔 一般 🕐 792 Number of Matching Subsequences 🤔 一般 🕐 793 Preimage Size of Factorial Zeroes Function 🤯 困难 🕐 794 Valid Tic-Tac-Toe State 🤔 一般 🕐 795 Number of Subarrays with Bounded Maximum 🤔 一般 🕐 796 Rotate String 🤩 简单 🕐 797 All Paths From Source to Target 🤔 一般 🕐 798 Smallest Rotation with Highest Score 🤯 困难 🕐 799 Champagne Tower 🤔 一般 🕐 705 Design HashSet 🤩 简单 🕐 706 Design HashMap 🤩 简单 🕐 800 Similar RGB Color 🤩 简单 🕐 801 Minimum Swaps To Make Sequences Increasing 🤯 困难 🕐 802 Find Eventual Safe States 🤔 一般 🕐 803 Bricks Falling When Hit 🤯 困难 🕐 804 Unique Morse Code Words 🤩 简单 🕐 805 Split Array With Same Average 🤯 困难 🕐 806 Number of Lines To Write String 🤩 简单 🕐 807 Max Increase to Keep City Skyline 🤔 一般 🕐 808 Soup Servings 🤔 一般 🕐 809 Expressive Words 🤔 一般 🕐 810 Chalkboard XOR Game 🤯 困难 🕐 811 Subdomain Visit Count 🤔 一般 🕐 812 Largest Triangle Area 🤩 简单 🕐 813 Largest Sum of Averages 🤔 一般 🕐 814 Binary Tree Pruning 🤔 一般 🕐 815 Bus Routes 🤯 困难 🕐 816 Ambiguous Coordinates 🤔 一般 🕐 817 Linked List Components 🤔 一般 🕐 818 Race Car 🤯 困难 🕐 819 Most Common Word 🤩 简单 🕐 707 Design Linked List 🤔 一般 ✅ 820 Short Encoding of Words 🤔 一般 🕐 821 Shortest Distance to a Character 🤩 简单 🕐 822 Card Flipping Game 🤔 一般 🕐 823 Binary Trees With Factors 🤔 一般 🕐 708 Insert into a Sorted Circular Linked List 🤔 一般 🕐 824 Goat Latin 🤩 简单 🕐 825 Friends Of Appropriate Ages 🤔 一般 🕐 826 Most Profit Assigning Work 🤔 一般 🕐 827 Making A Large Island 🤯 困难 🕐 828 Count Unique Characters of All Substrings of a Given String 🤯 困难 🕐 829 Consecutive Numbers Sum 🤯 困难 🕐 830 Positions of Large Groups 🤩 简单 🕐 831 Masking Personal Information 🤔 一般 🕐 641 Design Circular Deque 🤔 一般 🕐 622 Design Circular Queue 🤔 一般 🕐 832 Flipping an Image 🤩 简单 🕐 833 Find And Replace in String 🤔 一般 🕐 834 Sum of Distances in Tree 🤯 困难 🕐 835 Image Overlap 🤔 一般 🕐 489 Robot Room Cleaner 🤯 困难 🕐 836 Rectangle Overlap 🤩 简单 🕐 837 New 21 Game 🤔 一般 🕐 838 Push Dominoes 🤔 一般 🕐 839 Similar String Groups 🤯 困难 🕐 840 Magic Squares In Grid 🤔 一般 🕐 841 Keys and Rooms 🤔 一般 🕐 842 Split Array into Fibonacci Sequence 🤔 一般 🕐 843 Guess the Word 🤯 困难 🕐 844 Backspace String Compare 🤩 简单 🕐 845 Longest Mountain in Array 🤔 一般 🕐 846 Hand of Straights 🤔 一般 🕐 847 Shortest Path Visiting All Nodes 🤯 困难 ✅ 848 Shifting Letters 🤔 一般 🕐 849 Maximize Distance to Closest Person 🤔 一般 🕐 850 Rectangle Area II 🤯 困难 🕐 851 Loud and Rich 🤔 一般 🕐 852 Peak Index in a Mountain Array 🤩 简单 🕐 853 Car Fleet 🤔 一般 🕐 854 K-Similar Strings 🤯 困难 🕐 855 Exam Room 🤔 一般 🕐 856 Score of Parentheses 🤔 一般 🕐 857 Minimum Cost to Hire K Workers 🤯 困难 🕐 858 Mirror Reflection 🤔 一般 🕐 859 Buddy Strings 🤩 简单 🕐 860 Lemonade Change 🤩 简单 🕐 861 Score After Flipping Matrix 🤔 一般 🕐 862 Shortest Subarray with Sum at Least K 🤯 困难 🕐 863 All Nodes Distance K in Binary Tree 🤔 一般 🕐 710 Random Pick with Blacklist 🤯 困难 🕐 864 Shortest Path to Get All Keys 🤯 困难 🕐 865 Smallest Subtree with all the Deepest Nodes 🤔 一般 🕐 866 Prime Palindrome 🤔 一般 🕐 867 Transpose Matrix 🤩 简单 🕐 868 Binary Gap 🤩 简单 🕐 869 Reordered Power of 2 🤔 一般 🕐 870 Advantage Shuffle 🤔 一般 🕐 871 Minimum Number of Refueling Stops 🤯 困难 🕐 470 Implement Rand10() Using Rand7() 🤔 一般 🕐 872 Leaf-Similar Trees 🤩 简单 ✅ 873 Length of Longest Fibonacci Subsequence 🤔 一般 🕐 874 Walking Robot Simulation 🤔 一般 🕐 875 Koko Eating Bananas 🤔 一般 🕐 876 Middle of the Linked List 🤩 简单 🕐 877 Stone Game 🤔 一般 🕐 878 Nth Magical Number 🤯 困难 🕐 879 Profitable Schemes 🤯 困难 🕐 528 Random Pick with Weight 🤔 一般 🕐 519 Random Flip Matrix 🤔 一般 🕐 497 Random Point in Non-overlapping Rectangles 🤔 一般 🕐 478 Generate Random Point in a Circle 🤔 一般 🕐 880 Decoded String at Index 🤔 一般 🕐 881 Boats to Save People 🤔 一般 🆖 882 Reachable Nodes In Subdivided Graph 🤯 困难 🕐 883 Projection Area of 3D Shapes 🤩 简单 🕐 884 Uncommon Words from Two Sentences 🤩 简单 🕐 885 Spiral Matrix III 🤔 一般 🕐 886 Possible Bipartition 🤔 一般 🕐 887 Super Egg Drop 🤯 困难 🕐 888 Fair Candy Swap 🤩 简单 🕐 889 Construct Binary Tree from Preorder and Postorder Traversal 🤔 一般 🕐 890 Find and Replace Pattern 🤔 一般 🕐 891 Sum of Subsequence Widths 🤯 困难 🕐 892 Surface Area of 3D Shapes 🤩 简单 🕐 893 Groups of Special-Equivalent Strings 🤔 一般 🕐 894 All Possible Full Binary Trees 🤔 一般 🕐 895 Maximum Frequency Stack 🤯 困难 🕐 896 Monotonic Array 🤩 简单 🕐 897 Increasing Order Search Tree 🤩 简单 🕐 898 Bitwise ORs of Subarrays 🤔 一般 🕐 899 Orderly Queue 🤯 困难 🕐 900 RLE Iterator 🤔 一般 🕐 901 Online Stock Span 🤔 一般 🕐 902 Numbers At Most N Given Digit Set 🤯 困难 🕐 903 Valid Permutations for DI Sequence 🤯 困难 🕐 904 Fruit Into Baskets 🤔 一般 🕐 905 Sort Array By Parity 🤩 简单 🕐 906 Super Palindromes 🤯 困难 🕐 907 Sum of Subarray Minimums 🤔 一般 🕐 908 Smallest Range I 🤩 简单 🕐 909 Snakes and Ladders 🤔 一般 🕐 910 Smallest Range II 🤔 一般 🕐 911 Online Election 🤔 一般 🕐 912 Sort an Array 🤔 一般 🕐 913 Cat and Mouse 🤯 困难 🕐 914 X of a Kind in a Deck of Cards 🤩 简单 ✅ 915 Partition Array into Disjoint Intervals 🤔 一般 🕐 916 Word Subsets 🤔 一般 🕐 917 Reverse Only Letters 🤩 简单 🕐 918 Maximum Sum Circular Subarray 🤔 一般 🕐 919 Complete Binary Tree Inserter 🤔 一般 🕐 920 Number of Music Playlists 🤯 困难 🕐 921 Minimum Add to Make Parentheses Valid 🤔 一般 🕐 922 Sort Array By Parity II 🤩 简单 🕐 923 3Sum With Multiplicity 🤔 一般 🕐 924 Minimize Malware Spread 🤯 困难 🕐 925 Long Pressed Name 🤩 简单 🕐 926 Flip String to Monotone Increasing 🤔 一般 🕐 927 Three Equal Parts 🤯 困难 🆖 928 Minimize Malware Spread II 🤯 困难 🕐 929 Unique Email Addresses 🤩 简单 🕐 930 Binary Subarrays With Sum 🤔 一般 ✅ 931 Minimum Falling Path Sum 🤔 一般 🕐 932 Beautiful Array 🤔 一般 🕐 933 Number of Recent Calls 🤩 简单 🕐 934 Shortest Bridge 🤔 一般 🕐 935 Knight Dialer 🤔 一般 🕐 936 Stamping The Sequence 🤯 困难 🕐 937 Reorder Data in Log Files 🤩 简单 🕐 938 Range Sum of BST 🤩 简单 🕐 939 Minimum Area Rectangle 🤔 一般 🕐 940 Distinct Subsequences II 🤯 困难 🕐 941 Valid Mountain Array 🤩 简单 🕐 942 DI String Match 🤩 简单 🕐 943 Find the Shortest Superstring 🤯 困难 🕐 944 Delete Columns to Make Sorted 🤩 简单 🕐 945 Minimum Increment to Make Array Unique 🤔 一般 🕐 946 Validate Stack Sequences 🤔 一般 🕐 947 Most Stones Removed with Same Row or Column 🤔 一般 🕐 948 Bag of Tokens 🤔 一般 🕐 949 Largest Time for Given Digits 🤔 一般 🕐 950 Reveal Cards In Increasing Order 🤔 一般 🕐 951 Flip Equivalent Binary Trees 🤔 一般 🕐 952 Largest Component Size by Common Factor 🤯 困难 🕐 953 Verifying an Alien Dictionary 🤩 简单 🕐 954 Array of Doubled Pairs 🤔 一般 🕐 955 Delete Columns to Make Sorted II 🤔 一般 🕐 956 Tallest Billboard 🤯 困难 🕐 957 Prison Cells After N Days 🤔 一般 🕐 958 Check Completeness of a Binary Tree 🤔 一般 🕐 959 Regions Cut By Slashes 🤔 一般 🕐 960 Delete Columns to Make Sorted III 🤯 困难 🕐 961 N-Repeated Element in Size 2N Array 🤩 简单 🕐 962 Maximum Width Ramp 🤔 一般 🕐 963 Minimum Area Rectangle II 🤔 一般 🕐 964 Least Operators to Express Number 🤯 困难 🕐 965 Univalued Binary Tree 🤩 简单 🕐 966 Vowel Spellchecker 🤔 一般 🕐 967 Numbers With Same Consecutive Differences 🤔 一般 🕐 968 Binary Tree Cameras 🤯 困难 🕐 969 Pancake Sorting 🤔 一般 🕐 970 Powerful Integers 🤔 一般 🕐 971 Flip Binary Tree To Match Preorder Traversal 🤔 一般 🕐 972 Equal Rational Numbers 🤯 困难 🕐 509 Fibonacci Number 🤩 简单 🕐 973 K Closest Points to Origin 🤔 一般 🕐 974 Subarray Sums Divisible by K 🤔 一般 🕐 975 Odd Even Jump 🤯 困难 🕐 976 Largest Perimeter Triangle 🤩 简单 🕐 977 Squares of a Sorted Array 🤩 简单 🕐 978 Longest Turbulent Subarray 🤔 一般 🕐 979 Distribute Coins in Binary Tree 🤔 一般 🕐 980 Unique Paths III 🤯 困难 🕐 981 Time Based Key-Value Store 🤔 一般 🕐 982 Triples with Bitwise AND Equal To Zero 🤯 困难 🕐 983 Minimum Cost For Tickets 🤔 一般 🕐 984 String Without AAA or BBB 🤔 一般 🕐 985 Sum of Even Numbers After Queries 🤔 一般 🕐 986 Interval List Intersections 🤔 一般 🕐 987 Vertical Order Traversal of a Binary Tree 🤯 困难 🕐 988 Smallest String Starting From Leaf 🤔 一般 🕐 989 Add to Array-Form of Integer 🤩 简单 🕐 990 Satisfiability of Equality Equations 🤔 一般 🕐 991 Broken Calculator 🤔 一般 🕐 992 Subarrays with K Different Integers 🤯 困难 🕐 993 Cousins in Binary Tree 🤩 简单 ✅ 994 Rotting Oranges 🤔 一般 🕐 995 Minimum Number of K Consecutive Bit Flips 🤯 困难 🕐 996 Number of Squareful Arrays 🤯 困难 🕐 997 Find the Town Judge 🤩 简单 🕐 998 Maximum Binary Tree II 🤔 一般 🕐 999 Available Captures for Rook 🤩 简单 🕐 1000 Minimum Cost to Merge Stones 🤯 困难 🕐 1001 Grid Illumination 🤯 困难 🕐 1002 Find Common Characters 🤩 简单 🕐 1003 Check If Word Is Valid After Substitutions 🤔 一般 🕐 1004 Max Consecutive Ones III 🤔 一般 🕐 1005 Maximize Sum Of Array After K Negations 🤩 简单 🕐 1006 Clumsy Factorial 🤔 一般 🆖 1007 Minimum Domino Rotations For Equal Row 🤔 一般 🕐 1008 Construct Binary Search Tree from Preorder Traversal 🤔 一般 🕐 1055 Shortest Way to Form String 🤔 一般 🕐 1057 Campus Bikes 🤔 一般 🕐 1058 Minimize Rounding Error to Meet Target 🤔 一般 🕐 1009 Complement of Base 10 Integer 🤩 简单 🕐 1010 Pairs of Songs With Total Durations Divisible by 60 🤔 一般 🕐 1011 Capacity To Ship Packages Within D Days 🤔 一般 🕐 1012 Numbers With Repeated Digits 🤯 困难 🕐 1061 Lexicographically Smallest Equivalent String 🤔 一般 🕐 1060 Missing Element in Sorted Array 🤔 一般 🕐 1062 Longest Repeating Substring 🤔 一般 🕐 1063 Number of Valid Subarrays 🤯 困难 🕐 1013 Partition Array Into Three Parts With Equal Sum 🤩 简单 🕐 1014 Best Sightseeing Pair 🤔 一般 🕐 1015 Smallest Integer Divisible by K 🤔 一般 🕐 1016 Binary String With Substrings Representing 1 To N 🤔 一般 🕐 1064 Fixed Point 🤩 简单 🕐 1066 Campus Bikes II 🤔 一般 🕐 1067 Digit Count in Range 🤯 困难 🕐 1056 Confusing Number 🤩 简单 🕐 1017 Convert to Base -2 🤔 一般 🕐 1018 Binary Prefix Divisible By 5 🤩 简单 🕐 1019 Next Greater Node In Linked List 🤔 一般 🕐 1020 Number of Enclaves 🤔 一般 🕐 1086 High Five 🤩 简单 🕐 1065 Index Pairs of a String 🤩 简单 🕐 1087 Brace Expansion 🤔 一般 🕐 1088 Confusing Number II 🤯 困难 🕐 1021 Remove Outermost Parentheses 🤩 简单 🕐 1022 Sum of Root To Leaf Binary Numbers 🤩 简单 🕐 1023 Camelcase Matching 🤔 一般 🕐 1024 Video Stitching 🤔 一般 ✅ 1085 Sum of Digits in the Minimum Number 🤩 简单 🕐 1099 Two Sum Less Than K 🤩 简单 🕐 1100 Find K-Length Substrings With No Repeated Characters 🤔 一般 🕐 1101 The Earliest Moment When Everyone Become Friends 🤔 一般 🕐 1025 Divisor Game 🤩 简单 🕐 1027 Longest Arithmetic Subsequence 🤔 一般 🕐 1118 Number of Days in a Month 🤩 简单 🕐 1119 Remove Vowels from a String 🤩 简单 ✅ 1134 Armstrong Number 🤩 简单 🕐 1120 Maximum Average Subtree 🤔 一般 🕐 1026 Maximum Difference Between Node and Ancestor 🤔 一般 🕐 1028 Recover a Tree From Preorder Traversal 🤯 困难 🕐 1030 Matrix Cells in Distance Order 🤩 简单 🆖 1029 Two City Scheduling 🤔 一般 🕐 1031 Maximum Sum of Two Non-Overlapping Subarrays 🤔 一般 🕐 1032 Stream of Characters 🤯 困难 🕐 1133 Largest Unique Number 🤩 简单 🕐 1102 Path With Maximum Minimum Value 🤔 一般 🕐 1135 Connecting Cities With Minimum Cost 🤔 一般 🕐 1136 Parallel Courses 🤔 一般 🕐 1150 Check If a Number Is Majority Element in a Sorted Array 🤩 简单 🕐 1033 Moving Stones Until Consecutive 🤔 一般 🕐 1034 Coloring A Border 🤔 一般 🕐 1035 Uncrossed Lines 🤔 一般 🆖 1036 Escape a Large Maze 🤯 困难 🕐 1151 Minimum Swaps to Group All 1's Together 🤔 一般 🕐 1152 Analyze User Website Visit Pattern 🤔 一般 🕐 1039 Minimum Score Triangulation of Polygon 🤔 一般 🕐 1160 Find Words That Can Be Formed by Characters 🤩 简单 🕐 1040 Moving Stones Until Consecutive II 🤔 一般 🕐 1038 Binary Search Tree to Greater Sum Tree 🤔 一般 🕐 1037 Valid Boomerang 🤩 简单 🕐 1161 Maximum Level Sum of a Binary Tree 🤔 一般 🕐 1162 As Far from Land as Possible 🤔 一般 🕐 1121 Divide Array Into Increasing Sequences 🤯 困难 🕐 1041 Robot Bounded In Circle 🤔 一般 🕐 1042 Flower Planting With No Adjacent 🤔 一般 🕐 1043 Partition Array for Maximum Sum 🤔 一般 🕐 1044 Longest Duplicate Substring 🤯 困难 🕐 1165 Single-Row Keyboard 🤩 简单 🕐 1153 String Transforms Into Another String 🤯 困难 🕐 1166 Design File System 🤔 一般 🕐 1167 Minimum Cost to Connect Sticks 🤔 一般 🕐 1046 Last Stone Weight 🤩 简单 🕐 1047 Remove All Adjacent Duplicates In String 🤩 简单 🕐 1048 Longest String Chain 🤔 一般 🕐 1049 Last Stone Weight II 🤔 一般 🕐 1180 Count Substrings with Only One Distinct Letter 🤩 简单 🕐 1181 Before and After Puzzle 🤔 一般 🕐 1163 Last Substring in Lexicographical Order 🤯 困难 🕐 1182 Shortest Distance to Target Color 🤔 一般 🕐 1051 Height Checker 🤩 简单 🕐 1052 Grumpy Bookstore Owner 🤔 一般 🕐 1053 Previous Permutation With One Swap 🤔 一般 🕐 1054 Distant Barcodes 🤔 一般 🕐 1196 How Many Apples Can You Put into the Basket 🤩 简单 🕐 1197 Minimum Knight Moves 🤔 一般 🕐 1198 Find Smallest Common Element in All Rows 🤔 一般 🕐 1168 Optimize Water Distribution in a Village 🤯 困难 🕐 1074 Number of Submatrices That Sum to Target 🤯 困难 🕐 1071 Greatest Common Divisor of Strings 🤩 简单 🕐 1072 Flip Columns For Maximum Number of Equal Rows 🤔 一般 🕐 1073 Adding Two Negabinary Numbers 🤔 一般 🕐 1213 Intersection of Three Sorted Arrays 🤩 简单 🕐 1214 Two Sum BSTs 🤔 一般 🕐 1215 Stepping Numbers 🤔 一般 🕐 1183 Maximum Number of Ones 🤯 困难 🕐 1078 Occurrences After Bigram 🤩 简单 🕐 1080 Insufficient Nodes in Root to Leaf Paths 🤔 一般 🕐 1081 Smallest Subsequence of Distinct Characters 🤔 一般 🆖 1079 Letter Tile Possibilities 🤔 一般 🕐 1228 Missing Number In Arithmetic Progression 🤩 简单 🕐 1229 Meeting Scheduler 🤔 一般 🕐 1230 Toss Strange Coins 🤔 一般 🕐 1199 Minimum Time to Build Blocks 🤯 困难 🕐 1089 Duplicate Zeros 🤩 简单 🕐 1090 Largest Values From Labels 🤔 一般 🕐 1092 Shortest Common Supersequence 🤯 困难 🕐 1091 Shortest Path in Binary Matrix 🤔 一般 🕐 1243 Array Transformation 🤩 简单 🕐 1244 Design A Leaderboard 🤔 一般 🕐 1245 Tree Diameter 🤔 一般 🕐 1216 Valid Palindrome III 🤯 困难 🕐 1093 Statistics from a Large Sample 🤔 一般 🕐 1094 Car Pooling 🤔 一般 🕐 1095 Find in Mountain Array 🤯 困难 🕐 1096 Brace Expansion II 🤯 困难 🕐 1256 Encode Number 🤔 一般 🕐 1257 Smallest Common Region 🤔 一般 🕐 1258 Synonymous Sentences 🤔 一般 🕐 1231 Divide Chocolate 🤯 困难 🕐 1104 Path In Zigzag Labelled Binary Tree 🤔 一般 🕐 1103 Distribute Candies to People 🤩 简单 🕐 1105 Filling Bookcase Shelves 🤔 一般 🕐 1106 Parsing A Boolean Expression 🤯 困难 🕐 1271 Hexspeak 🤩 简单 🕐 1272 Remove Interval 🤔 一般 🕐 1273 Delete Tree Nodes 🤔 一般 🕐 1246 Palindrome Removal 🤯 困难 🕐 1108 Defanging an IP Address 🤩 简单 🕐 1109 Corporate Flight Bookings 🤔 一般 ✅ 1110 Delete Nodes And Return Forest 🤔 一般 🕐 1111 Maximum Nesting Depth of Two Valid Parentheses Strings 🤔 一般 🕐 1619 Mean of Array After Removing Some Elements 🤩 简单 🕐 1286 Iterator for Combination 🤔 一般 🕐 1291 Sequential Digits 🤔 一般 🕐 1259 Handshakes That Don't Cross 🤯 困难 🕐 1122 Relative Sort Array 🤩 简单 🕐 1123 Lowest Common Ancestor of Deepest Leaves 🤔 一般 🕐 1124 Longest Well-Performing Interval 🤔 一般 🕐 1125 Smallest Sufficient Team 🤯 困难 🕐 1287 Element Appearing More Than 25% In Sorted Array 🤩 简单 🕐 1288 Remove Covered Intervals 🤔 一般 🕐 1627 Graph Connectivity With Threshold 🤯 困难 🕐 1289 Minimum Falling Path Sum II 🤯 困难 🕐 1128 Number of Equivalent Domino Pairs 🤩 简单 🕐 1130 Minimum Cost Tree From Leaf Values 🤔 一般 🕐 1129 Shortest Path with Alternating Colors 🤔 一般 🕐 1131 Maximum of Absolute Value Expression 🤔 一般 🕐 1299 Replace Elements with Greatest Element on Right Side 🤩 简单 🕐 1300 Sum of Mutated Array Closest to Target 🤔 一般 🕐 1274 Number of Ships in a Rectangle 🤯 困难 🕐 1301 Number of Paths with Max Score 🤯 困难 🕐 1137 N-th Tribonacci Number 🤩 简单 🕐 1138 Alphabet Board Path 🤔 一般 🕐 1139 Largest 1-Bordered Square 🤔 一般 🕐 1140 Stone Game II 🤔 一般 🕐 1313 Decompress Run-Length Encoded List 🤩 简单 🕐 1314 Matrix Block Sum 🤔 一般 🕐 1315 Sum of Nodes with Even-Valued Grandparent 🤔 一般 🕐 1316 Distinct Echo Substrings 🤯 困难 🕐 1144 Decrease Elements To Make Array Zigzag 🤔 一般 🕐 1145 Binary Tree Coloring Game 🤔 一般 🕐 1146 Snapshot Array 🤔 一般 🕐 1143 Longest Common Subsequence 🤔 一般 🕐 1147 Longest Chunked Palindrome Decomposition 🤯 困难 🕐 1328 Break a Palindrome 🤔 一般 🕐 1329 Sort the Matrix Diagonally 🤔 一般 🕐 1302 Deepest Leaves Sum 🤔 一般 🕐 1330 Reverse Subarray To Maximize Array Value 🤯 困难 🕐 1331 Rank Transform of an Array 🤩 简单 🕐 1632 Rank Transform of a Matrix 🤯 困难 🕐 1154 Day of the Year 🤩 简单 🕐 1156 Swap For Longest Repeated Character Substring 🤔 一般 🕐 1157 Online Majority Element In Subarray 🤯 困难 🕐 1155 Number of Dice Rolls With Target Sum 🤔 一般 🕐 1935 Maximum Number of Words You Can Type 🤩 简单 🕐 1171 Remove Zero Sum Consecutive Nodes from Linked List 🤔 一般 🕐 1172 Dinner Plate Stacks 🤯 困难 🕐 1236 Web Crawler 🤔 一般 🕐 1169 Invalid Transactions 🤔 一般 🕐 1170 Compare Strings by Frequency of the Smallest Character 🤔 一般 🕐 1360 Number of Days Between Two Dates 🤩 简单 🕐 1361 Validate Binary Tree Nodes 🤔 一般 🕐 1362 Closest Divisors 🤔 一般 🕐 1363 Largest Multiple of Three 🤯 困难 🕐 1175 Prime Arrangements 🤩 简单 🕐 1176 Diet Plan Performance 🤩 简单 🕐 1177 Can Make Palindrome from Substring 🤔 一般 🕐 1178 Number of Valid Words for Each Puzzle 🤯 困难 🕐 1507 Reformat Date 🤩 简单 🕐 1390 Four Divisors 🤔 一般 🕐 1382 Balance a Binary Search Tree 🤔 一般 🕐 1425 Constrained Subsequence Sum 🤯 困难 🕐 1184 Distance Between Bus Stops 🤩 简单 🕐 1186 Maximum Subarray Sum with One Deletion 🤔 一般 🕐 1185 Day of the Week 🤩 简单 ✅ 1187 Make Array Strictly Increasing 🤯 困难 ✅ 1550 Three Consecutive Odds 🤩 简单 🕐 2080 Range Frequency Queries 🤔 一般 🕐 1954 Minimum Garden Perimeter to Collect Enough Apples 🤔 一般 🕐 1483 Kth Ancestor of a Tree Node 🤯 困难 ✅ 1189 Maximum Number of Balloons 🤩 简单 🕐 1190 Reverse Substrings Between Each Pair of Parentheses 🤔 一般 🕐 1191 K-Concatenation Maximum Sum 🤔 一般 🕐 1192 Critical Connections in a Network 🤯 困难 🕐 1957 Delete Characters to Make Fancy String 🤩 简单 🕐 2139 Minimum Moves to Reach Target Score 🤔 一般 🕐 1405 Longest Happy String 🤔 一般 🕐 1944 Number of Visible People in a Queue 🤯 困难 🕐 1200 Minimum Absolute Difference 🤩 简单 🕐 1201 Ugly Number III 🤔 一般 🕐 1202 Smallest String With Swaps 🤔 一般 ✅ 1203 Sort Items by Groups Respecting Dependencies 🤯 困难 🕐 2079 Watering Plants 🤔 一般 🕐 1895 Largest Magic Square 🤔 一般 🕐 1916 Count Ways to Build Rooms in an Ant Colony 🤯 困难 🕐 1207 Unique Number of Occurrences 🤩 简单 🕐 1209 Remove All Adjacent Duplicates in String II 🤔 一般 🕐 1208 Get Equal Substrings Within Budget 🤔 一般 🕐 1210 Minimum Moves to Reach Target with Rotations 🤯 困难 🕐 1706 Where Will the Ball Fall 🤔 一般 🕐 1514 Path with Maximum Probability 🤔 一般 🕐 1862 Sum of Floored Pairs 🤯 困难 🕐 1217 Minimum Cost to Move Chips to The Same Position 🤩 简单 🕐 1218 Longest Arithmetic Subsequence of Given Difference 🤔 一般 🕐 1219 Path with Maximum Gold 🤔 一般 ✅ 1220 Count Vowels Permutation 🤯 困难 ✅ 1960 Maximum Product of the Length of Two Palindromic Substrings 🤯 困难 🕐 1206 Design Skiplist 🤯 困难 🕐 1221 Split a String in Balanced Strings 🤩 简单 ✅ 1222 Queens That Can Attack the King 🤔 一般 🕐 1223 Dice Roll Simulation 🤯 困难 🕐 1224 Maximum Equal Frequency 🤯 困难 🕐 1427 Perform String Shifts 🤩 简单 🕐 1232 Check If It Is a Straight Line 🤩 简单 🕐 1233 Remove Sub-Folders from the Filesystem 🤔 一般 🕐 1234 Replace the Substring for Balanced String 🤔 一般 🕐 1235 Maximum Profit in Job Scheduling 🤯 困难 🕐 1237 Find Positive Integer Solution for a Given Equation 🤔 一般 🕐 1238 Circular Permutation in Binary Representation 🤔 一般 🕐 1239 Maximum Length of a Concatenated String with Unique Characters 🤔 一般 🕐 1240 Tiling a Rectangle with the Fewest Squares 🤯 困难 🕐 1227 Airplane Seat Assignment Probability 🤔 一般 🕐 1726 Tuple with Same Product 🤔 一般 🕐 1429 First Unique Number 🤔 一般 🕐 1691 Maximum Height by Stacking Cuboids 🤯 困难 🕐 1247 Minimum Swaps to Make Strings Equal 🤔 一般 🕐 1248 Count Number of Nice Subarrays 🤔 一般 🕐 1249 Minimum Remove to Make Valid Parentheses 🤔 一般 🕐 1250 Check If It Is a Good Array 🤯 困难 🕐 1428 Leftmost Column with at Least a One 🤔 一般 🕐 1252 Cells with Odd Values in a Matrix 🤩 简单 🕐 1253 Reconstruct a 2-Row Binary Matrix 🤔 一般 🕐 1254 Number of Closed Islands 🤔 一般 🕐 1255 Maximum Score Words Formed by Letters 🤯 困难 🕐 1618 Maximum Font to Fit a Sentence in a Screen 🤔 一般 🕐 1260 Shift 2D Grid 🤩 简单 🕐 1261 Find Elements in a Contaminated Binary Tree 🤔 一般 🕐 1262 Greatest Sum Divisible by Three 🤔 一般 🕐 1263 Minimum Moves to Move a Box to Their Target Location 🤯 困难 🕐 1426 Counting Elements 🤩 简单 🕐 1266 Minimum Time Visiting All Points 🤩 简单 🕐 1267 Count Servers that Communicate 🤔 一般 🕐 1268 Search Suggestions System 🤔 一般 🕐 1269 Number of Ways to Stay in the Same Place After Some Steps 🤯 困难 ✅ 1275 Find Winner on a Tic Tac Toe Game 🤩 简单 🕐 1276 Number of Burgers with No Waste of Ingredients 🤔 一般 ✅ 1277 Count Square Submatrices with All Ones 🤔 一般 🕐 1278 Palindrome Partitioning III 🤯 困难 🕐 1265 Print Immutable Linked List in Reverse 🤔 一般 🕐 1281 Subtract the Product and Sum of Digits of an Integer 🤩 简单 🕐 1282 Group the People Given the Group Size They Belong To 🤔 一般 🕐 1283 Find the Smallest Divisor Given a Threshold 🤔 一般 🕐 1284 Minimum Number of Flips to Convert Binary Matrix to Zero Matrix 🤯 困难 🕐 1290 Convert Binary Number in a Linked List to Integer 🤩 简单 🕐 1292 Maximum Side Length of a Square with Sum Less than or Equal to Threshold 🤔 一般 🕐 1293 Shortest Path in a Grid with Obstacles Elimination 🤯 困难 🕐 1295 Find Numbers with Even Number of Digits 🤩 简单 🕐 1296 Divide Array in Sets of K Consecutive Numbers 🤔 一般 🕐 1297 Maximum Number of Occurrences of a Substring 🤔 一般 🕐 1298 Maximum Candies You Can Get from Boxes 🤯 困难 🕐 1304 Find N Unique Integers Sum up to Zero 🤩 简单 🕐 1305 All Elements in Two Binary Search Trees 🤔 一般 🕐 1306 Jump Game III 🤔 一般 🕐 1307 Verbal Arithmetic Puzzle 🤯 困难 🕐 1430 Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree 🤔 一般 🕐 1309 Decrypt String from Alphabet to Integer Mapping 🤩 简单 🕐 1310 XOR Queries of a Subarray 🤔 一般 ✅ 1311 Get Watched Videos by Your Friends 🤔 一般 🕐 1312 Minimum Insertion Steps to Make a String Palindrome 🤯 困难 🕐 1317 Convert Integer to the Sum of Two No-Zero Integers 🤩 简单 🕐 1318 Minimum Flips to Make a OR b Equal to c 🤔 一般 ✅ 1319 Number of Operations to Make Network Connected 🤔 一般 🕐 1320 Minimum Distance to Type a Word Using Two Fingers 🤯 困难 ✅ 1342 Number of Steps to Reduce a Number to Zero 🤩 简单 🕐 1343 Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold 🤔 一般 🕐 1344 Angle Between Hands of a Clock 🤔 一般 🕐 1345 Jump Game IV 🤯 困难 🕐 1323 Maximum 69 Number 🤩 简单 🕐 1324 Print Words Vertically 🤔 一般 🕐 1325 Delete Leaves With a Given Value 🤔 一般 🕐 1326 Minimum Number of Taps to Open to Water a Garden 🤯 困难 🕐 1332 Remove Palindromic Subsequences 🤩 简单 🕐 1333 Filter Restaurants by Vegan-Friendly, Price and Distance 🤔 一般 🕐 1334 Find the City With the Smallest Number of Neighbors at a Threshold Distance 🤔 一般 🕐 1335 Minimum Difficulty of a Job Schedule 🤯 困难 🕐 1356 Sort Integers by The Number of 1 Bits 🤩 简单 🕐 1357 Apply Discount Every n Orders 🤔 一般 🕐 1358 Number of Substrings Containing All Three Characters 🤔 一般 🕐 1359 Count All Valid Pickup and Delivery Options 🤯 困难 🕐 1337 The K Weakest Rows in a Matrix 🤩 简单 🕐 1338 Reduce Array Size to The Half 🤔 一般 🕐 1339 Maximum Product of Splitted Binary Tree 🤔 一般 🕐 1340 Jump Game V 🤯 困难 🕐 1346 Check If N and Its Double Exist 🤩 简单 🕐 1347 Minimum Number of Steps to Make Two Strings Anagram 🤔 一般 🕐 1348 Tweet Counts Per Frequency 🤔 一般 ✅ 1349 Maximum Students Taking Exam 🤯 困难 🕐 1370 Increasing Decreasing String 🤩 简单 🕐 1371 Find the Longest Substring Containing Vowels in Even Counts 🤔 一般 🕐 1372 Longest ZigZag Path in a Binary Tree 🤔 一般 🕐 1373 Maximum Sum BST in Binary Tree 🤯 困难 🕐 1351 Count Negative Numbers in a Sorted Matrix 🤩 简单 🕐 1352 Product of the Last K Numbers 🤔 一般 🕐 1353 Maximum Number of Events That Can Be Attended 🤔 一般 🕐 1354 Construct Target Array With Multiple Sums 🤯 困难 ✅ 1365 How Many Numbers Are Smaller Than the Current Number 🤩 简单 🕐 1366 Rank Teams by Votes 🤔 一般 🕐 1367 Linked List in Binary Tree 🤔 一般 🕐 1368 Minimum Cost to Make at Least One Valid Path in a Grid 🤯 困难 🕐 1385 Find the Distance Value Between Two Arrays 🤩 简单 🕐 1386 Cinema Seat Allocation 🤔 一般 🕐 1387 Sort Integers by The Power Value 🤔 一般 🕐 1388 Pizza With 3n Slices 🤯 困难 🕐 1374 Generate a String With Characters That Have Odd Counts 🤩 简单 🕐 1375 Number of Times Binary String Is Prefix-Aligned 🤔 一般 🕐 1376 Time Needed to Inform All Employees 🤔 一般 🕐 1377 Frog Position After T Seconds 🤯 困难 🕐 1380 Lucky Numbers in a Matrix 🤩 简单 🕐 1381 Design a Stack With Increment Operation 🤔 一般 🕐 1379 Find a Corresponding Node of a Binary Tree in a Clone of That Tree 🤔 一般 🕐 1383 Maximum Performance of a Team 🤯 困难 🕐 1399 Count Largest Group 🤩 简单 🕐 1401 Circle and Rectangle Overlapping 🤔 一般 🕐 1400 Construct K Palindrome Strings 🤔 一般 🕐 1402 Reducing Dishes 🤯 困难 🕐 1389 Create Target Array in the Given Order 🤩 简单 🕐 1391 Check if There is a Valid Path in a Grid 🤔 一般 🕐 1392 Longest Happy Prefix 🤯 困难 🕐 1394 Find Lucky Integer in an Array 🤩 简单 🕐 1395 Count Number of Teams 🤔 一般 🕐 1396 Design Underground System 🤔 一般 🕐 1397 Find All Good Strings 🤯 困难 🕐 1413 Minimum Value to Get Positive Step by Step Sum 🤩 简单 🕐 1414 Find the Minimum Number of Fibonacci Numbers Whose Sum Is K 🤔 一般 🕐 1415 The k-th Lexicographical String of All Happy Strings of Length n 🤔 一般 🕐 1416 Restore The Array 🤯 困难 🕐 1403 Minimum Subsequence in Non-Increasing Order 🤩 简单 🕐 1404 Number of Steps to Reduce a Number in Binary Representation to One 🤔 一般 🕐 1406 Stone Game III 🤯 困难 🕐 1408 String Matching in an Array 🤩 简单 🕐 1409 Queries on a Permutation With Key 🤔 一般 🕐 1410 HTML Entity Parser 🤔 一般 🕐 1411 Number of Ways to Paint N × 3 Grid 🤯 困难 🕐 1431 Kids With the Greatest Number of Candies 🤩 简单 🕐 1432 Max Difference You Can Get From Changing an Integer 🤔 一般 🕐 1433 Check If a String Can Break Another String 🤔 一般 🕐 1434 Number of Ways to Wear Different Hats to Each Other 🤯 困难 🕐 1417 Reformat The String 🤩 简单 🕐 1418 Display Table of Food Orders in a Restaurant 🤔 一般 🕐 1419 Minimum Number of Frogs Croaking 🤔 一般 🕐 1420 Build Array Where You Can Find The Maximum Exactly K Comparisons 🤯 困难 🕐 1422 Maximum Score After Splitting a String 🤩 简单 🕐 1423 Maximum Points You Can Obtain from Cards 🤔 一般 🕐 1424 Diagonal Traverse II 🤔 一般 🕐 1446 Consecutive Characters 🤩 简单 🕐 1447 Simplified Fractions 🤔 一般 🕐 1448 Count Good Nodes in Binary Tree 🤔 一般 🕐 1449 Form Largest Integer With Digits That Add up to Target 🤯 困难 🕐 1436 Destination City 🤩 简单 🕐 1437 Check If All 1's Are at Least Length K Places Away 🤩 简单 ✅ 1438 Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit 🤔 一般 🕐 1439 Find the Kth Smallest Sum of a Matrix With Sorted Rows 🤯 困难 🕐 1441 Build an Array With Stack Operations 🤩 简单 🕐 1442 Count Triplets That Can Form Two Arrays of Equal XOR 🤔 一般 ✅ 1443 Minimum Time to Collect All Apples in a Tree 🤔 一般 🕐 1444 Number of Ways of Cutting a Pizza 🤯 困难 🕐 1460 Make Two Arrays Equal by Reversing Sub-arrays 🤩 简单 🕐 1461 Check If a String Contains All Binary Codes of Size K 🤔 一般 🕐 1462 Course Schedule IV 🤔 一般 🕐 1463 Cherry Pickup II 🤯 困难 🕐 1450 Number of Students Doing Homework at a Given Time 🤩 简单 🕐 1451 Rearrange Words in a Sentence 🤔 一般 🕐 1452 People Whose List of Favorite Companies Is Not a Subset of Another List 🤔 一般 🕐 1453 Maximum Number of Darts Inside of a Circular Dartboard 🤯 困难 🕐 1455 Check If a Word Occurs As a Prefix of Any Word in a Sentence 🤩 简单 🕐 1456 Maximum Number of Vowels in a Substring of Given Length 🤔 一般 🕐 1457 Pseudo-Palindromic Paths in a Binary Tree 🤔 一般 🕐 1458 Max Dot Product of Two Subsequences 🤯 困难 🕐 1475 Final Prices With a Special Discount in a Shop 🤩 简单 🕐 1478 Allocate Mailboxes 🤯 困难 🕐 1476 Subrectangle Queries 🤔 一般 🕐 1477 Find Two Non-overlapping Sub-arrays Each With Target Sum 🤔 一般 🕐 1464 Maximum Product of Two Elements in an Array 🤩 简单 🕐 1465 Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts 🤔 一般 🕐 1466 Reorder Routes to Make All Paths Lead to the City Zero 🤔 一般 🕐 1467 Probability of a Two Boxes Having The Same Number of Distinct Balls 🤯 困难 🕐 1470 Shuffle the Array 🤩 简单 🕐 1471 The k Strongest Values in an Array 🤔 一般 🕐 1472 Design Browser History 🤔 一般 🕐 1473 Paint House III 🤯 困难 🕐 1491 Average Salary Excluding the Minimum and Maximum Salary 🤩 简单 🕐 1492 The kth Factor of n 🤔 一般 🕐 1493 Longest Subarray of 1's After Deleting One Element 🤔 一般 🕐 1494 Parallel Courses II 🤯 困难 🕐 1480 Running Sum of 1d Array 🤩 简单 ✅ 1481 Least Number of Unique Integers after K Removals 🤔 一般 🕐 1482 Minimum Number of Days to Make m Bouquets 🤔 一般 🕐 1469 Find All The Lonely Nodes 🤩 简单 🕐 1486 XOR Operation in an Array 🤩 简单 🕐 1487 Making File Names Unique 🤔 一般 🕐 1488 Avoid Flood in The City 🤔 一般 🕐 1489 Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree 🤯 困难 🕐 1508 Range Sum of Sorted Subarray Sums 🤔 一般 🕐 1509 Minimum Difference Between Largest and Smallest Value in Three Moves 🤔 一般 🕐 1510 Stone Game IV 🤯 困难 🕐 1474 Delete N Nodes After M Nodes of a Linked List 🤩 简单 🕐 1496 Path Crossing 🤩 简单 🕐 1497 Check If Array Pairs Are Divisible by k 🤔 一般 🕐 1498 Number of Subsequences That Satisfy the Given Sum Condition 🤔 一般 🕐 1499 Max Value of Equation 🤯 困难 🕐 1485 Clone Binary Tree With Random Pointer 🤔 一般 🕐 1502 Can Make Arithmetic Progression From Sequence 🤩 简单 🕐 1503 Last Moment Before All Ants Fall Out of a Plank 🤔 一般 🕐 1504 Count Submatrices With All Ones 🤔 一般 🕐 1505 Minimum Possible Integer After at Most K Adjacent Swaps On Digits 🤯 困难 🕐 1523 Count Odd Numbers in an Interval Range 🤩 简单 🕐 1524 Number of Sub-arrays With Odd Sum 🤔 一般 🕐 1525 Number of Good Ways to Split a String 🤔 一般 🕐 1526 Minimum Number of Increments on Subarrays to Form a Target Array 🤯 困难 🕐 1490 Clone N-ary Tree 🤔 一般 🕐 1512 Number of Good Pairs 🤩 简单 🕐 1513 Number of Substrings With Only 1s 🤔 一般 🕐 1531 String Compression II 🤯 困难 🕐 1515 Best Position for a Service Centre 🤯 困难 🕐 1500 Design a File Sharing System 🤔 一般 🕐 1518 Water Bottles 🤩 简单 🕐 1519 Number of Nodes in the Sub-Tree With the Same Label 🤔 一般 🕐 1520 Maximum Number of Non-Overlapping Substrings 🤯 困难 🕐 1521 Find a Value of a Mysterious Function Closest to Target 🤯 困难 🕐 1539 Kth Missing Positive Number 🤩 简单 🕐 1540 Can Convert String in K Moves 🤔 一般 🕐 1541 Minimum Insertions to Balance a Parentheses String 🤔 一般 🕐 1546 Maximum Number of Non-Overlapping Subarrays With Sum Equals Target 🤔 一般 🕐 1506 Find Root of N-Ary Tree 🤔 一般 🕐 1528 Shuffle String 🤩 简单 🕐 1529 Minimum Suffix Flips 🤔 一般 🕐 1530 Number of Good Leaf Nodes Pairs 🤔 一般 🕐 1516 Move Sub-Tree of N-Ary Tree 🤯 困难 🕐 1534 Count Good Triplets 🤩 简单 🕐 1535 Find the Winner of an Array Game 🤔 一般 🕐 1536 Minimum Swaps to Arrange a Binary Grid 🤔 一般 🕐 1537 Get the Maximum Score 🤯 困难 🕐 1556 Thousand Separator 🤩 简单 🕐 1557 Minimum Number of Vertices to Reach All Nodes 🤔 一般 🕐 1558 Minimum Numbers of Function Calls to Make Target Array 🤔 一般 🕐 1559 Detect Cycles in 2D Grid 🤔 一般 🕐 1522 Diameter of N-Ary Tree 🤔 一般 🕐 1544 Make The String Great 🤩 简单 🕐 1545 Find Kth Bit in Nth Binary String 🤔 一般 🕐 1542 Find Longest Awesome Substring 🤯 困难 🕐 1547 Minimum Cost to Cut a Stick 🤯 困难 🕐 1533 Find the Index of the Large Integer 🤔 一般 🕐 1551 Minimum Operations to Make Array Equal 🤔 一般 🕐 1552 Magnetic Force Between Two Balls 🤔 一般 🕐 1553 Minimum Number of Days to Eat N Oranges 🤯 困难 🕐 1572 Matrix Diagonal Sum 🤩 简单 ✅ 1573 Number of Ways to Split a String 🤔 一般 🕐 1574 Shortest Subarray to be Removed to Make Array Sorted 🤔 一般 🕐 1575 Count All Possible Routes 🤯 困难 🕐 1538 Guess the Majority in a Hidden Array 🤔 一般 🕐 1560 Most Visited Sector in a Circular Track 🤩 简单 🕐 1561 Maximum Number of Coins You Can Get 🤔 一般 🕐 1562 Find Latest Group of Size M 🤔 一般 🕐 1563 Stone Game V 🤯 困难 🕐 1548 The Most Similar Path in a Graph 🤯 困难 🕐 1566 Detect Pattern of Length M Repeated K or More Times 🤩 简单 🕐 1567 Maximum Length of Subarray With Positive Product 🤔 一般 🕐 1568 Minimum Number of Days to Disconnect Island 🤯 困难 🕐 1569 Number of Ways to Reorder Array to Get Same BST 🤯 困难 🕐 1588 Sum of All Odd Length Subarrays 🤩 简单 🕐 1590 Make Sum Divisible by P 🤔 一般 🕐 1589 Maximum Sum Obtained of Any Permutation 🤔 一般 🕐 1591 Strange Printer II 🤯 困难 🕐 1554 Strings Differ by One Character 🤔 一般 🕐 1576 Replace All ?'s to Avoid Consecutive Repeating Characters 🤩 简单 ✅ 1577 Number of Ways Where Square of Number Is Equal to Product of Two Numbers 🤔 一般 🕐 1578 Minimum Time to Make Rope Colorful 🤔 一般 🕐 1579 Remove Max Number of Edges to Keep Graph Fully Traversable 🤯 困难 🕐 1564 Put Boxes Into the Warehouse I 🤔 一般 🕐 1582 Special Positions in a Binary Matrix 🤩 简单 🕐 1583 Count Unhappy Friends 🤔 一般 🕐 1584 Min Cost to Connect All Points 🤔 一般 ✅ 1585 Check If String Is Transformable With Substring Sort Operations 🤯 困难 🕐 1603 Design Parking System 🤩 简单 ✅ 1604 Alert Using Same Key-Card Three or More Times in a One Hour Period 🤔 一般 🕐 1606 Find Servers That Handled Most Number of Requests 🤯 困难 🕐 1605 Find Valid Matrix Given Row and Column Sums 🤔 一般 🕐 1570 Dot Product of Two Sparse Vectors 🤔 一般 🕐 1592 Rearrange Spaces Between Words 🤩 简单 🕐 1593 Split a String Into the Max Number of Unique Substrings 🤔 一般 🕐 1594 Maximum Non Negative Product in a Matrix 🤔 一般 🕐 1595 Minimum Cost to Connect Two Groups of Points 🤯 困难 🕐 1580 Put Boxes Into the Warehouse II 🤔 一般 🕐 1598 Crawler Log Folder 🤩 简单 🕐 1599 Maximum Profit of Operating a Centennial Wheel 🤔 一般 🕐 1600 Throne Inheritance 🤔 一般 🕐 1601 Maximum Number of Achievable Transfer Requests 🤯 困难 🕐 1621 Number of Sets of K Non-Overlapping Line Segments 🤔 一般 🕐 1620 Coordinate With Maximum Network Quality 🤔 一般 🕐 1728 Cat and Mouse II 🤯 困难 ✅ 1622 Fancy Sequence 🤯 困难 🕐 1586 Binary Search Tree Iterator II 🤔 一般 🕐 1608 Special Array With X Elements Greater Than or Equal X 🤩 简单 🕐 1609 Even Odd Tree 🤔 一般 🕐 1611 Minimum One Bit Operations to Make Integers Zero 🤯 困难 🕐 1610 Maximum Number of Visible Points 🤯 困难 🕐 1597 Build Binary Expression Tree From Infix Expression 🤯 困难 🕐 1614 Maximum Nesting Depth of the Parentheses 🤩 简单 🕐 1615 Maximal Network Rank 🤔 一般 🕐 1616 Split Two Strings to Make Palindrome 🤔 一般 ✅ 1617 Count Subtrees With Max Distance Between Cities 🤯 困难 🕐 1636 Sort Array by Increasing Frequency 🤩 简单 🕐 1637 Widest Vertical Area Between Two Points Containing No Points 🤔 一般 🕐 1638 Count Substrings That Differ by One Character 🤔 一般 🕐 1639 Number of Ways to Form a Target String Given a Dictionary 🤯 困难 🕐 1602 Find Nearest Right Node in Binary Tree 🤔 一般 🕐 1624 Largest Substring Between Two Equal Characters 🤩 简单 🕐 1625 Lexicographically Smallest String After Applying Operations 🤔 一般 🕐 1626 Best Team With No Conflicts 🤔 一般 🕐 1612 Check If Two Expression Trees are Equivalent 🤔 一般 🕐 1629 Slowest Key 🤩 简单 ✅ 1630 Arithmetic Subarrays 🤔 一般 🕐 1631 Path With Minimum Effort 🤔 一般 🕐 1652 Defuse the Bomb 🤩 简单 🕐 1653 Minimum Deletions to Make String Balanced 🤔 一般 🕐 1654 Minimum Jumps to Reach Home 🤔 一般 🕐 1655 Distribute Repeating Integers 🤯 困难 🕐 1640 Check Array Formation Through Concatenation 🤩 简单 🕐 1641 Count Sorted Vowel Strings 🤔 一般 🕐 1642 Furthest Building You Can Reach 🤔 一般 🕐 1668 Maximum Repeating Substring 🤩 简单 🕐 1669 Merge In Between Linked Lists 🤔 一般 🕐 1671 Minimum Number of Removals to Make Mountain Array 🤯 困难 🕐 1670 Design Front Middle Back Queue 🤔 一般 🕐 1628 Design an Expression Tree With Evaluate Function 🤔 一般 🕐 1646 Get Maximum in Generated Array 🤩 简单 🕐 1647 Minimum Deletions to Make Character Frequencies Unique 🤔 一般 🕐 1648 Sell Diminishing-Valued Colored Balls 🤔 一般 🕐 1649 Create Sorted Array through Instructions 🤯 困难 🕐 1634 Add Two Polynomials Represented as Linked Lists 🤔 一般 🕐 1656 Design an Ordered Stream 🤩 简单 ✅ 1658 Minimum Operations to Reduce X to Zero 🤔 一般 🕐 1657 Determine if Two Strings Are Close 🤔 一般 🕐 1659 Maximize Grid Happiness 🤯 困难 🕐 1644 Lowest Common Ancestor of a Binary Tree II 🤔 一般 🕐 1662 Check If Two String Arrays are Equivalent 🤩 简单 🕐 1663 Smallest String With A Given Numeric Value 🤔 一般 🕐 1664 Ways to Make a Fair Array 🤔 一般 🕐 1665 Minimum Initial Energy to Finish Tasks 🤯 困难 🕐 1684 Count the Number of Consistent Strings 🤩 简单 🕐 1685 Sum of Absolute Differences in a Sorted Array 🤔 一般 🕐 1686 Stone Game VI 🤔 一般 🕐 1687 Delivering Boxes from Storage to Ports 🤯 困难 🕐 1650 Lowest Common Ancestor of a Binary Tree III 🤔 一般 🕐 1672 Richest Customer Wealth 🤩 简单 🕐 1673 Find the Most Competitive Subsequence 🤔 一般 🕐 1674 Minimum Moves to Make Array Complementary 🤔 一般 🕐 1675 Minimize Deviation in Array 🤯 困难 🕐 1660 Correct a Binary Tree 🤔 一般 🕐 1678 Goal Parser Interpretation 🤩 简单 🕐 1679 Max Number of K-Sum Pairs 🤔 一般 🕐 1681 Minimum Incompatibility 🤯 困难 🕐 1680 Concatenation of Consecutive Binary Numbers 🤔 一般 🕐 1700 Number of Students Unable to Eat Lunch 🤩 简单 🕐 1701 Average Waiting Time 🤔 一般 🕐 1702 Maximum Binary String After Change 🤔 一般 🕐 1703 Minimum Adjacent Swaps for K Consecutive Ones 🤯 困难 🕐 1688 Count of Matches in Tournament 🤩 简单 🕐 1689 Partitioning Into Minimum Number Of Deci-Binary Numbers 🤔 一般 🕐 1690 Stone Game VII 🤔 一般 🕐 1714 Sum Of Special Evenly-Spaced Elements In Array 🤯 困难 🕐 1666 Change the Root of a Binary Tree 🤔 一般 🕐 1694 Reformat Phone Number 🤩 简单 🕐 1695 Maximum Erasure Value 🤔 一般 🕐 1696 Jump Game VI 🤔 一般 🕐 1697 Checking Existence of Edge Length Limited Paths 🤯 困难 🕐 1676 Lowest Common Ancestor of a Binary Tree IV 🤔 一般 🕐 1716 Calculate Money in Leetcode Bank 🤩 简单 ✅ 1717 Maximum Score From Removing Substrings 🤔 一般 🕐 1718 Construct the Lexicographically Largest Valid Sequence 🤔 一般 🕐 1719 Number Of Ways To Reconstruct A Tree 🤯 困难 🕐 1682 Longest Palindromic Subsequence II 🤔 一般 🕐 1704 Determine if String Halves Are Alike 🤩 简单 🕐 1705 Maximum Number of Eaten Apples 🤔 一般 🕐 1723 Find Minimum Time to Finish All Jobs 🤯 困难 🕐 1707 Maximum XOR With an Element From Array 🤯 困难 🕐 1692 Count Ways to Distribute Candies 🤯 困难 🕐 1710 Maximum Units on a Truck 🤩 简单 🕐 1711 Count Good Meals 🤔 一般 🕐 1712 Ways to Split Array Into Three Subarrays 🤔 一般 🕐 1713 Minimum Operations to Make a Subsequence 🤯 困难 ✅ 1732 Find the Highest Altitude 🤩 简单 🕐 1733 Minimum Number of People to Teach 🤔 一般 🕐 1734 Decode XORed Permutation 🤔 一般 🕐 1735 Count Ways to Make Array With Product 🤯 困难 🕐 1698 Number of Distinct Substrings in a String 🤔 一般 🕐 1720 Decode XORed Array 🤩 简单 🕐 1722 Minimize Hamming Distance After Swap Operations 🤔 一般 🕐 1725 Number Of Rectangles That Can Form The Largest Square 🤩 简单 🕐 1742 Maximum Number of Balls in a Box 🤩 简单 🕐 1727 Largest Submatrix With Rearrangements 🤔 一般 🕐 1708 Largest Subarray Length K 🤩 简单 🕐 1748 Sum of Unique Elements 🤩 简单 🕐 1749 Maximum Absolute Sum of Any Subarray 🤔 一般 🕐 1750 Minimum Length of String After Deleting Similar Ends 🤔 一般 🕐 1751 Maximum Number of Events That Can Be Attended II 🤯 困难 🕐 1736 Latest Time by Replacing Hidden Digits 🤩 简单 🕐 1737 Change Minimum Characters to Satisfy One of Three Conditions 🤔 一般 🕐 1738 Find Kth Largest XOR Coordinate Value 🤔 一般 ✅ 1739 Building Boxes 🤯 困难 🕐 1724 Checking Existence of Edge Length Limited Paths II 🤯 困难 🕐 1743 Restore the Array From Adjacent Pairs 🤔 一般 🕐 1745 Palindrome Partitioning IV 🤯 困难 🕐 1744 Can You Eat Your Favorite Candy on Your Favorite Day? 🤔 一般 🕐 1763 Longest Nice Substring 🤩 简单 🕐 1764 Form Array by Concatenating Subarrays of Another Array 🤔 一般 🕐 1766 Tree of Coprimes 🤯 困难 🕐 1765 Map of Highest Peak 🤔 一般 🕐 1752 Check if Array Is Sorted and Rotated 🤩 简单 🕐 1753 Maximum Score From Removing Stones 🤔 一般 🕐 1754 Largest Merge Of Two Strings 🤔 一般 🕐 1755 Closest Subsequence Sum 🤯 困难 🕐 1740 Find Distance in a Binary Tree 🤔 一般 🕐 1758 Minimum Changes To Make Alternating Binary String 🤩 简单 🕐 1759 Count Number of Homogenous Substrings 🤔 一般 🕐 1760 Minimum Limit of Balls in a Bag 🤔 一般 🕐 1761 Minimum Degree of a Connected Trio in a Graph 🤯 困难 🕐 1779 Find Nearest Point That Has the Same X or Y Coordinate 🤩 简单 🕐 1780 Check if Number is a Sum of Powers of Three 🤔 一般 🕐 1781 Sum of Beauty of All Substrings 🤔 一般 🕐 1782 Count Pairs Of Nodes 🤯 困难 🕐 1746 Maximum Subarray Sum After One Operation 🤔 一般 🕐 1768 Merge Strings Alternately 🤩 简单 🕐 1769 Minimum Number of Operations to Move All Balls to Each Box 🤔 一般 🕐 1770 Maximum Score from Performing Multiplication Operations 🤔 一般 🕐 1771 Maximize Palindrome Length From Subsequences 🤯 困难 🕐 1773 Count Items Matching a Rule 🤩 简单 ✅ 1774 Closest Dessert Cost 🤔 一般 🕐 1775 Equal Sum Arrays With Minimum Number of Operations 🤔 一般 🕐 1776 Car Fleet II 🤯 困难 🕐 1756 Design Most Recently Used Queue 🤔 一般 🕐 1796 Second Largest Digit in a String 🤩 简单 🕐 1797 Design Authentication Manager 🤔 一般 🕐 1799 Maximize Score After N Operations 🤯 困难 🕐 1803 Count Pairs With XOR in a Range 🤯 困难 🕐 1762 Buildings With an Ocean View 🤔 一般 🕐 1784 Check if Binary String Has at Most One Segment of Ones 🤩 简单 ✅ 1785 Minimum Elements to Add to Form a Given Sum 🤔 一般 🕐 1786 Number of Restricted Paths From First to Last Node 🤔 一般 🕐 1787 Make the XOR of All Segments Equal to Zero 🤯 困难 🕐 1790 Check if One String Swap Can Make Strings Equal 🤩 简单 🕐 1791 Find Center of Star Graph 🤩 简单 🕐 1792 Maximum Average Pass Ratio 🤔 一般 🕐 1793 Maximum Score of a Good Subarray 🤯 困难 🕐 1772 Sort Features by Popularity 🤔 一般 🕐 1812 Determine Color of a Chessboard Square 🤩 简单 🕐 1813 Sentence Similarity III 🤔 一般 🕐 1815 Maximum Number of Groups Getting Fresh Donuts 🤯 困难 🕐 1814 Count Nice Pairs in an Array 🤔 一般 🕐 1800 Maximum Ascending Subarray Sum 🤩 简单 🕐 1801 Number of Orders in the Backlog 🤔 一般 🕐 1802 Maximum Value at a Given Index in a Bounded Array 🤔 一般 🕐 1798 Maximum Number of Consecutive Values You Can Make 🤔 一般 🕐 1778 Shortest Path in a Hidden Grid 🤔 一般 🕐 1805 Number of Different Integers in a String 🤩 简单 🕐 1807 Evaluate the Bracket Pairs of a String 🤔 一般 🕐 1806 Minimum Number of Operations to Reinitialize a Permutation 🤔 一般 🕐 1808 Maximize Number of Nice Divisors 🤯 困难 🕐 1788 Maximize the Beauty of the Garden 🤯 困难 🕐 1827 Minimum Operations to Make the Array Increasing 🤩 简单 🕐 1828 Queries on Number of Points Inside a Circle 🤔 一般 🕐 1829 Maximum XOR for Each Query 🤔 一般 🕐 1830 Minimum Number of Operations to Make String Sorted 🤯 困难 🕐 1794 Count Pairs of Equal Substrings With Minimum Difference 🤔 一般 🕐 1816 Truncate Sentence 🤩 简单 🕐 1817 Finding the Users Active Minutes 🤔 一般 🕐 1818 Minimum Absolute Sum Difference 🤔 一般 🕐 1819 Number of Different Subsequences GCDs 🤯 困难 🕐 1804 Implement Trie II (Prefix Tree) 🤔 一般 🕐 1822 Sign of the Product of an Array 🤩 简单 🕐 1823 Find the Winner of the Circular Game 🤔 一般 🕐 1824 Minimum Sideway Jumps 🤔 一般 🕐 1825 Finding MK Average 🤯 困难 🕐 1844 Replace All Digits with Characters 🤩 简单 🕐 1845 Seat Reservation Manager 🤔 一般 🕐 1846 Maximum Element After Decreasing and Rearranging 🤔 一般 🕐 1847 Closest Room 🤯 困难 🕐 1810 Minimum Path Cost in a Hidden Grid 🤔 一般 🕐 1832 Check if the Sentence Is Pangram 🤩 简单 🕐 1833 Maximum Ice Cream Bars 🤔 一般 ✅ 1834 Single-Threaded CPU 🤔 一般 🕐 1835 Find XOR Sum of All Pairs Bitwise AND 🤯 困难 🕐 1837 Sum of Digits in Base K 🤩 简单 🕐 1838 Frequency of the Most Frequent Element 🤔 一般 🕐 1839 Longest Substring Of All Vowels in Order 🤔 一般 🕐 1840 Maximum Building Height 🤯 困难 🕐 1820 Maximum Number of Accepted Invitations 🤔 一般 🕐 1859 Sorting the Sentence 🤩 简单 🕐 1860 Incremental Memory Leak 🤔 一般 🕐 1861 Rotating the Box 🤔 一般 🕐 1848 Minimum Distance to the Target Element 🤩 简单 🕐 1849 Splitting a String Into Descending Consecutive Values 🤔 一般 🕐 1851 Minimum Interval to Include Each Query 🤯 困难 🕐 1850 Minimum Adjacent Swaps to Reach the Kth Smallest Number 🤔 一般 🕐 1989 Maximum Number of People That Can Be Caught in Tag 🤔 一般 🕐 1826 Faulty Sensor 🤩 简单 🕐 1836 Remove Duplicates From an Unsorted Linked List 🤔 一般 🕐 1854 Maximum Population Year 🤩 简单 🕐 1855 Maximum Distance Between a Pair of Values 🤔 一般 🕐 1856 Maximum Subarray Min-Product 🤔 一般 🕐 1857 Largest Color Value in a Directed Graph 🤯 困难 🕐 1876 Substrings of Size Three with Distinct Characters 🤩 简单 🕐 1877 Minimize Maximum Pair Sum in Array 🤔 一般 🕐 1879 Minimum XOR Sum of Two Arrays 🤯 困难 🕐 1878 Get Biggest Three Rhombus Sums in a Grid 🤔 一般 🕐 2046 Sort Linked List Already Sorted Using Absolute Values 🤔 一般 🕐 1863 Sum of All Subset XOR Totals 🤩 简单 🕐 1864 Minimum Number of Swaps to Make the Binary String Alternating 🤔 一般 🕐 1865 Finding Pairs With a Certain Sum 🤔 一般 🕐 1866 Number of Ways to Rearrange Sticks With K Sticks Visible 🤯 困难 🕐 1842 Next Palindrome Using Same Digits 🤯 困难 🕐 1869 Longer Contiguous Segments of Ones than Zeros 🤩 简单 🕐 1870 Minimum Speed to Arrive on Time 🤔 一般 🕐 1871 Jump Game VII 🤔 一般 🕐 1872 Stone Game VIII 🤯 困难 🕐 1852 Distinct Numbers in Each Subarray 🤔 一般 🕐 1893 Check if All the Integers in a Range Are Covered 🤩 简单 🕐 1894 Find the Student that Will Replace the Chalk 🤔 一般 ✅ 1896 Minimum Cost to Change the Final Value of Expression 🤯 困难 🕐 1858 Longest Word With All Prefixes 🤔 一般 🕐 1880 Check if Word Equals Summation of Two Words 🤩 简单 🕐 1881 Maximum Value after Insertion 🤔 一般 🕐 1882 Process Tasks Using Servers 🤔 一般 🕐 1883 Minimum Skips to Arrive at Meeting On Time 🤯 困难 🕐 1886 Determine Whether Matrix Can Be Obtained By Rotation 🤩 简单 🕐 1887 Reduction Operations to Make the Array Elements Equal 🤔 一般 🕐 1888 Minimum Number of Flips to Make the Binary String Alternating 🤔 一般 🕐 1889 Minimum Space Wasted From Packaging 🤯 困难 🕐 1868 Product of Two Run-Length Encoded Arrays 🤔 一般 🕐 1909 Remove One Element to Make the Array Strictly Increasing 🤩 简单 🕐 1910 Remove All Occurrences of a Substring 🤔 一般 🕐 1911 Maximum Alternating Subsequence Sum 🤔 一般 🕐 1912 Design Movie Rental System 🤯 困难 🕐 1897 Redistribute Characters to Make All Strings Equal 🤩 简单 ✅ 1899 Merge Triplets to Form Target Triplet 🤔 一般 🕐 1898 Maximum Number of Removable Characters 🤔 一般 🕐 1900 The Earliest and Latest Rounds Where Players Compete 🤯 困难 🕐 1874 Minimize Product Sum of Two Arrays 🤔 一般 🕐 1884 Egg Drop With 2 Eggs and N Floors 🤔 一般 🕐 1903 Largest Odd Number in String 🤩 简单 🕐 1904 The Number of Full Rounds You Have Played 🤔 一般 🕐 1906 Minimum Absolute Difference Queries 🤔 一般 🕐 1905 Count Sub Islands 🤔 一般 🕐 1885 Count Pairs in Two Arrays 🤔 一般 🕐 1925 Count Square Sum Triples 🤩 简单 ✅ 1926 Nearest Exit from Entrance in Maze 🤔 一般 🕐 1927 Sum Game 🤔 一般 🕐 1928 Minimum Cost to Reach Destination in Time 🤯 困难 ✅ 1913 Maximum Product Difference Between Two Pairs 🤩 简单 🕐 1914 Cyclically Rotating a Grid 🤔 一般 🕐 1915 Number of Wonderful Substrings 🤔 一般 🕐 1891 Cutting Ribbons 🤔 一般 🕐 1901 Find a Peak Element II 🤔 一般 🕐 1920 Build Array from Permutation 🤩 简单 🕐 1921 Eliminate Maximum Number of Monsters 🤔 一般 🕐 1922 Count Good Numbers 🤔 一般 🕐 1923 Longest Common Subpath 🤯 困难 🕐 1902 Depth of BST Given Insertion Order 🤔 一般 🕐 1941 Check if All Characters Have Equal Number of Occurrences 🤩 简单 🕐 1942 The Number of the Smallest Unoccupied Chair 🤔 一般 🕐 1943 Describe the Painting 🤔 一般 🕐 1929 Concatenation of Array 🤩 简单 🕐 1930 Unique Length-3 Palindromic Subsequences 🤔 一般 🕐 1932 Merge BSTs to Create Single BST 🤯 困难 🕐 1931 Painting a Grid With Three Different Colors 🤯 困难 🕐 1908 Game of Nim 🤔 一般 🕐 1936 Add Minimum Number of Rungs 🤔 一般 🕐 1937 Maximum Number of Points with Cost 🤔 一般 🕐 1938 Maximum Genetic Difference Query 🤯 困难 🕐 1918 Kth Smallest Subarray Sum 🤔 一般 🕐 1933 Check if String Is Decomposable Into Value-Equal Substrings 🤩 简单 🕐 1940 Longest Common Subsequence Between Sorted Arrays 🤔 一般 🕐 1950 Maximum of Minimum Values in All Subarrays 🤔 一般 🕐 1956 Minimum Time For K Virus Variants to Spread 🤯 困难 ✅ 1924 Erect the Fence II 🤯 困难 🕐 2021 Brightest Position on Street 🤔 一般 🕐 1945 Sum of Digits of String After Convert 🤩 简单 🕐 1946 Largest Number After Mutating Substring 🤔 一般 🕐 1947 Maximum Compatibility Score Sum 🤔 一般 🕐 1948 Delete Duplicate Folders in System 🤯 困难 🕐 1958 Check if Move is Legal 🤔 一般 ✅ 1959 Minimum Total Space Wasted With K Resizing Operations 🤔 一般 🕐 2052 Minimum Cost to Separate Sentence Into Rows 🤔 一般 🕐 1952 Three Divisors 🤩 简单 🕐 1953 Maximum Number of Weeks for Which You Can Work 🤔 一般 🕐 1968 Array With Elements Not Equal to Average of Neighbors 🤔 一般 🕐 1955 Count Number of Special Subsequences 🤯 困难 🕐 1974 Minimum Time to Type Word Using Special Typewriter 🤩 简单 🕐 1975 Maximum Matrix Sum 🤔 一般 🕐 1976 Number of Ways to Arrive at Destination 🤔 一般 🕐 1977 Number of Ways to Separate Numbers 🤯 困难 🕐 1961 Check If String Is a Prefix of Array 🤩 简单 🕐 1962 Remove Stones to Minimize the Total 🤔 一般 🕐 1963 Minimum Number of Swaps to Make the String Balanced 🤔 一般 🕐 1964 Find the Longest Valid Obstacle Course at Each Position 🤯 困难 🕐 1967 Number of Strings That Appear as Substrings in Word 🤩 简单 🕐 1969 Minimum Non-Zero Product of the Array Elements 🤔 一般 🕐 1970 Last Day Where You Can Still Cross 🤯 困难 🕐 1991 Find the Middle Index in Array 🤩 简单 🕐 1992 Find All Groups of Farmland 🤔 一般 🕐 1993 Operations on Tree 🤔 一般 🕐 1994 The Number of Good Subsets 🤯 困难 🕐 1979 Find Greatest Common Divisor of Array 🤩 简单 🕐 1980 Find Unique Binary String 🤔 一般 🕐 1981 Minimize the Difference Between Target and Chosen Elements 🤔 一般 🕐 1982 Find Array Given Subset Sums 🤯 困难 🕐 1966 Binary Searchable Numbers in an Unsorted Array 🤔 一般 🕐 1984 Minimum Difference Between Highest and Lowest of K Scores 🤩 简单 🕐 1985 Find the Kth Largest Integer in the Array 🤔 一般 🕐 1986 Minimum Number of Work Sessions to Finish the Tasks 🤔 一般 🕐 1987 Number of Unique Good Subsequences 🤯 困难 🕐 2006 Count Number of Pairs With Absolute Difference K 🤩 简单 🕐 2007 Find Original Array From Doubled Array 🤔 一般 🕐 2008 Maximum Earnings From Taxi 🤔 一般 🕐 2009 Minimum Number of Operations to Make Array Continuous 🤯 困难 🕐 1971 Find if Path Exists in Graph 🤩 简单 🕐 1995 Count Special Quadruplets 🤩 简单 🕐 1996 The Number of Weak Characters in the Game 🤔 一般 🕐 1997 First Day Where You Have Been in All the Rooms 🤔 一般 🕐 1998 GCD Sort of an Array 🤯 困难 🕐 1973 Count Nodes Equal to Sum of Descendants 🤔 一般 🕐 2000 Reverse Prefix of Word 🤩 简单 🕐 2001 Number of Pairs of Interchangeable Rectangles 🤔 一般 🕐 2002 Maximum Product of the Length of Two Palindromic Subsequences 🤔 一般 🕐 2003 Smallest Missing Genetic Value in Each Subtree 🤯 困难 ✅ 2022 Convert 1D Array Into 2D Array 🤩 简单 🕐 2023 Number of Pairs of Strings With Concatenation Equal to Target 🤔 一般 🕐 2024 Maximize the Confusion of an Exam 🤔 一般 🕐 2025 Maximum Number of Ways to Partition an Array 🤯 困难 🕐 2011 Final Value of Variable After Performing Operations 🤩 简单 🕐 2012 Sum of Beauty in the Array 🤔 一般 🕐 2013 Detect Squares 🤔 一般 🕐 2014 Longest Subsequence Repeated k Times 🤯 困难 🕐 1999 Smallest Greater Multiple Made of Two Digits 🤔 一般 🕐 2015 Average Height of Buildings in Each Segment 🤔 一般 🕐 2016 Maximum Difference Between Increasing Elements 🤩 简单 🕐 2017 Grid Game 🤔 一般 🕐 2018 Check if Word Can Be Placed In Crossword 🤔 一般 🕐 2019 The Score of Students Solving Math Expression 🤯 困难 🕐 2037 Minimum Number of Moves to Seat Everyone 🤩 简单 🕐 2038 Remove Colored Pieces if Both Neighbors are the Same Color 🤔 一般 🕐 2040 Kth Smallest Product of Two Sorted Arrays 🤯 困难 🕐 2039 The Time When the Network Becomes Idle 🤔 一般 🕐 2005 Subtree Removal Game with Fibonacci Tree 🤯 困难 🕐 2027 Minimum Moves to Convert String 🤩 简单 🕐 2028 Find Missing Observations 🤔 一般 🕐 2029 Stone Game IX 🤔 一般 🕐 2030 Smallest K-Length Subsequence With Occurrences of a Letter 🤯 困难 🕐 2032 Two Out of Three 🤩 简单 🕐 2033 Minimum Operations to Make a Uni-Value Grid 🤔 一般 🕐 2034 Stock Price Fluctuation 🤔 一般 🕐 2035 Partition Array Into Two Arrays to Minimize Sum Difference 🤯 困难 🕐 2053 Kth Distinct String in an Array 🤩 简单 🕐 2054 Two Best Non-Overlapping Events 🤔 一般 🕐 2055 Plates Between Candles 🤔 一般 🕐 2056 Number of Valid Move Combinations On Chessboard 🤯 困难 🕐 2042 Check if Numbers Are Ascending in a Sentence 🤩 简单 🕐 2043 Simple Bank System 🤔 一般 🕐 2044 Count Number of Maximum Bitwise-OR Subsets 🤔 一般 🕐 2045 Second Minimum Time to Reach Destination 🤯 困难 🕐 2047 Number of Valid Words in a Sentence 🤩 简单 🕐 2048 Next Greater Numerically Balanced Number 🤔 一般 🕐 2049 Count Nodes With the Highest Score 🤔 一般 🕐 2050 Parallel Courses III 🤯 困难 🕐 2068 Check Whether Two Strings are Almost Equivalent 🤩 简单 🕐 2069 Walking Robot Simulation II 🤔 一般 🕐 2070 Most Beautiful Item for Each Query 🤔 一般 🕐 2071 Maximum Number of Tasks You Can Assign 🤯 困难 🕐 2057 Smallest Index With Equal Value 🤩 简单 🕐 2058 Find the Minimum and Maximum Number of Nodes Between Critical Points 🤔 一般 🕐 2059 Minimum Operations to Convert Number 🤔 一般 🕐 2060 Check if an Original String Exists Given Two Encoded Strings 🤯 困难 🕐 2062 Count Vowel Substrings of a String 🤩 简单 🕐 2063 Vowels of All Substrings 🤔 一般 🕐 2064 Minimized Maximum of Products Distributed to Any Store 🤔 一般 🕐 2065 Maximum Path Quality of a Graph 🤯 困难 🕐 2085 Count Common Words With One Occurrence 🤩 简单 🕐 2086 Minimum Number of Buckets Required to Collect Rainwater from Houses 🤔 一般 🕐 2087 Minimum Cost Homecoming of a Robot in a Grid 🤔 一般 🕐 2088 Count Fertile Pyramids in a Land 🤯 困难 🕐 2073 Time Needed to Buy Tickets 🤩 简单 🕐 2074 Reverse Nodes in Even Length Groups 🤔 一般 🕐 2075 Decode the Slanted Ciphertext 🤔 一般 🕐 2076 Process Restricted Friend Requests 🤯 困难 🕐 2078 Two Furthest Houses With Different Colors 🤩 简单 🕐 2132 Stamping the Grid 🤯 困难 🕐 2097 Valid Arrangement of Pairs 🤯 困难 🕐 2081 Sum of k-Mirror Numbers 🤯 困难 🕐 2061 Number of Spaces Cleaning Robot Cleaned 🤔 一般 🕐 2099 Find Subsequence of Length K With the Largest Sum 🤩 简单 🕐 2100 Find Good Days to Rob the Bank 🤔 一般 🕐 2101 Detonate the Maximum Bombs 🤔 一般 🕐 2102 Sequentially Ordinal Rank Tracker 🤯 困难 🕐 2067 Number of Equal Count Substrings 🤔 一般 🕐 2089 Find Target Indices After Sorting Array 🤩 简单 🕐 2090 K Radius Subarray Averages 🤔 一般 🕐 2091 Removing Minimum and Maximum From Array 🤔 一般 🕐 2092 Find All People With Secret 🤯 困难 🕐 2094 Finding 3-Digit Even Numbers 🤩 简单 ✅ 2095 Delete the Middle Node of a Linked List 🤔 一般 🕐 2096 Step-By-Step Directions From a Binary Tree Node to Another 🤔 一般 🕐 2077 Paths in Maze That Lead to Same Room 🤔 一般 🕐 2114 Maximum Number of Words Found in Sentences 🤩 简单 🕐 2115 Find All Possible Recipes from Given Supplies 🤔 一般 🕐 2116 Check if a Parentheses String Can Be Valid 🤔 一般 🕐 2117 Abbreviating the Product of a Range 🤯 困难 🕐 2083 Substrings That Begin and End With the Same Letter 🤔 一般 🕐 2103 Rings and Rods 🤩 简单 🕐 2104 Sum of Subarray Ranges 🤔 一般 🕐 2105 Watering Plants II 🤔 一般 🕐 2106 Maximum Fruits Harvested After at Most K Steps 🤯 困难 🕐 2093 Minimum Cost to Reach City With Discounts 🤔 一般 🕐 2108 Find First Palindromic String in the Array 🤩 简单 🕐 2109 Adding Spaces to a String 🤔 一般 🕐 2110 Number of Smooth Descent Periods of a Stock 🤔 一般 🕐 2111 Minimum Operations to Make the Array K-Increasing 🤯 困难 🕐 2129 Capitalize the Title 🤩 简单 🕐 2130 Maximum Twin Sum of a Linked List 🤔 一般 ✅ 2131 Longest Palindrome by Concatenating Two Letter Words 🤔 一般 🕐 2119 A Number After a Double Reversal 🤩 简单 🕐 2120 Execution of All Suffix Instructions Staying in a Grid 🤔 一般 🕐 2121 Intervals Between Identical Elements 🤔 一般 🕐 2122 Recover the Original Array 🤯 困难 🕐 2098 Subsequence of Size K With the Largest Even Sum 🤔 一般 🕐 2124 Check if All A's Appears Before All B's 🤩 简单 🕐 2125 Number of Laser Beams in a Bank 🤔 一般 🕐 2126 Destroying Asteroids 🤔 一般 🕐 2127 Maximum Employees to Be Invited to a Meeting 🤯 困难 🕐 2107 Number of Unique Flavors After Sharing K Candies 🤔 一般 🕐 2133 Check if Every Row and Column Contains All Numbers 🤩 简单 🕐 2134 Minimum Swaps to Group All 1's Together II 🤔 一般 🕐 2135 Count Words Obtained After Adding a Letter 🤔 一般 🕐 2136 Earliest Possible Day of Full Bloom 🤯 困难 🕐 2113 Elements in Array After Removing and Replacing Elements 🤔 一般 🕐 2123 Minimum Operations to Remove Adjacent Ones in Matrix 🤯 困难 🕐 2138 Divide a String Into Groups of Size k 🤩 简单 🕐 2140 Solving Questions With Brainpower 🤔 一般 🕐 2141 Maximum Running Time of N Computers 🤯 困难 🕐 2128 Remove All Ones With Row and Column Flips 🤔 一般 🕐 2137 Pour Water Between Buckets to Make Water Levels Equal 🤔 一般 🕐 LCP 02 Deep Dark Fraction 🤩 简单 🕐 LCP 04 Broken Board Dominoes 🤯 困难 🕐 LCP 05 Coin Bonus 🤯 困难 🕐 LCP 03 Programmable Robot 🤔 一般 🕐 LCP 01 Guess Numbers 🤩 简单 🕐 LCP 06 拿硬币 🤩 简单 🕐 LCP 08 剧情触发时间 🤔 一般 🕐 LCP 23 魔术排列 🤔 一般 🕐 LCP 14 切分数组 🤯 困难 🕐 LCP 10 二叉树任务调度 🤯 困难 🕐 LCP 07 传递信息 🤩 简单 🕐 LCP 16 游乐园的游览计划 🤯 困难 🕐 LCP 11 期望个数统计 🤩 简单 🕐 LCP 12 小张刷题计划 🤔 一般 🕐 LCP 15 游乐园的迷宫 🤯 困难 🕐 LCP 34 二叉树染色 🤔 一般 🕐 LCP 09 最小跳跃次数 🤯 困难 🕐 LCP 37 最小矩形面积 🤯 困难 🕐 LCP 13 寻宝 🤯 困难 🕐 LCP 19 秋叶收藏集 🤔 一般 🕐 LCP 24 数字游戏 🤯 困难 🕐 LCP 26 导航装置 🤯 困难 🕐 LCP 20 快速公交 🤯 困难 🕐 LCP 21 追逐游戏 🤯 困难 🕐 LCP 25 古董键盘 🤯 困难 ✅ LCP 17 速算机器人 🤩 简单 🕐 LCP 22 黑白方格画 🤩 简单 🕐 LCP 18 早餐组合 🤩 简单 🕐 LCP 27 黑盒光线反射 🤯 困难 🕐 LCP 28 采购方案 🤩 简单 🕐 LCP 29 乐团站位 🤩 简单 🕐 LCP 31 变换的迷宫 🤯 困难 🕐 LCP 32 批量处理任务 🤯 困难 🕐 LCP 35 电动车游城市 🤯 困难 🕐 LCP 33 蓄水 🤩 简单 🕐 LCP 36 最多牌组数 🤯 困难 🕐 LCP 38 守卫城堡 🤯 困难 🕐 LCP 30 魔塔游戏 🤔 一般 🕐 LCS 01 下载插件 🤩 简单 🕐 LCS 02 完成一半题目 🤩 简单 🕐 LCS 03 主题空间 🤔 一般 🕐 LCP 49 环形闯关游戏 🤯 困难 🕐 LCP 47 入场安检 🤯 困难 🕐 LCP 44 开幕式焰火 🤩 简单 🕐 LCP 43 十字路口的交通 🤯 困难 🕐 LCP 40 心算挑战 🤩 简单 🕐 LCP 39 无人机方阵 🤩 简单 🕐 LCP 41 黑白翻转棋 🤔 一般 🕐 LCP 42 玩具套圈 🤯 困难 🕐 LCP 46 志愿者调配 🤔 一般 🕐 LCP 48 无限棋局 🤯 困难 🕐 LCP 45 自行车炫技赛场 🤔 一般 🕐 175 Combine Two Tables 🤩 简单 🕐 176 Second Highest Salary 🤔 一般 🕐 177 Nth Highest Salary 🤔 一般 🕐 178 Rank Scores 🤔 一般 🕐 180 Consecutive Numbers 🤔 一般 🕐 181 Employees Earning More Than Their Managers 🤩 简单 🕐 182 Duplicate Emails 🤩 简单 🕐 183 Customers Who Never Order 🤩 简单 🕐 184 Department Highest Salary 🤔 一般 🕐 185 Department Top Three Salaries 🤯 困难 🕐 196 Delete Duplicate Emails 🤩 简单 🕐 197 Rising Temperature 🤩 简单 🕐 262 Trips and Users 🤯 困难 🕐 569 Median Employee Salary 🤯 困难 🕐 570 Managers with at Least 5 Direct Reports 🤔 一般 🕐 571 Find Median Given Frequency of Numbers 🤯 困难 🕐 574 Winning Candidate 🤔 一般 🕐 577 Employee Bonus 🤩 简单 🕐 578 Get Highest Answer Rate Question 🤔 一般 🕐 579 Find Cumulative Salary of an Employee 🤯 困难 🕐 580 Count Student Number in Departments 🤔 一般 🕐 584 Find Customer Referee 🤩 简单 🕐 585 Investments in 2016 🤔 一般 🕐 586 Customer Placing the Largest Number of Orders 🤩 简单 🕐 595 Big Countries 🤩 简单 🕐 596 Classes More Than 5 Students 🤩 简单 🕐 597 Friend Requests I: Overall Acceptance Rate 🤩 简单 🕐 601 Human Traffic of Stadium 🤯 困难 🕐 602 Friend Requests II: Who Has the Most Friends 🤔 一般 🕐 603 Consecutive Available Seats 🤩 简单 🕐 607 Sales Person 🤩 简单 🕐 608 Tree Node 🤔 一般 ✅ 610 Triangle Judgement 🤩 简单 🕐 612 Shortest Distance in a Plane 🤔 一般 🕐 613 Shortest Distance in a Line 🤩 简单 🕐 614 Second Degree Follower 🤔 一般 ✅ 615 Average Salary: Departments VS Company 🤯 困难 🕐 618 Students Report By Geography 🤯 困难 🕐 619 Biggest Single Number 🤩 简单 🕐 620 Not Boring Movies 🤩 简单 🕐 626 Exchange Seats 🤔 一般 🕐 627 Swap Salary 🤩 简单 🕐 1045 Customers Who Bought All Products 🤔 一般 ✅ 1050 Actors and Directors Who Cooperated At Least Three Times 🤩 简单 🕐 1068 Product Sales Analysis I 🤩 简单 🕐 1069 Product Sales Analysis II 🤩 简单 🕐 1070 Product Sales Analysis III 🤔 一般 🕐 1075 Project Employees I 🤩 简单 ✅ 1076 Project Employees II 🤩 简单 🕐 1077 Project Employees III 🤔 一般 🕐 1082 Sales Analysis I 🤩 简单 🕐 1083 Sales Analysis II 🤩 简单 🕐 1084 Sales Analysis III 🤩 简单 🕐 511 Game Play Analysis I 🤩 简单 🕐 512 Game Play Analysis II 🤩 简单 🕐 534 Game Play Analysis III 🤔 一般 🕐 550 Game Play Analysis IV 🤔 一般 🕐 1097 Game Play Analysis V 🤯 困难 🕐 1098 Unpopular Books 🤔 一般 🕐 1107 New Users Daily Count 🤔 一般 🕐 1112 Highest Grade For Each Student 🤔 一般 🕐 1113 Reported Posts 🤩 简单 🕐 1126 Active Businesses 🤔 一般 🕐 1127 User Purchase Platform 🤯 困难 🕐 1132 Reported Posts II 🤔 一般 🕐 1141 User Activity for the Past 30 Days I 🤩 简单 🕐 1142 User Activity for the Past 30 Days II 🤩 简单 🕐 1148 Article Views I 🤩 简单 🕐 1149 Article Views II 🤔 一般 🕐 1158 Market Analysis I 🤔 一般 🕐 1159 Market Analysis II 🤯 困难 🕐 1164 Product Price at a Given Date 🤔 一般 🕐 1173 Immediate Food Delivery I 🤩 简单 🕐 1174 Immediate Food Delivery II 🤔 一般 🕐 1179 Reformat Department Table 🤩 简单 🕐 1193 Monthly Transactions I 🤔 一般 ✅ 1194 Tournament Winners 🤯 困难 🕐 1204 Last Person to Fit in the Bus 🤔 一般 🕐 1205 Monthly Transactions II 🤔 一般 🕐 1211 Queries Quality and Percentage 🤩 简单 🕐 1212 Team Scores in Football Tournament 🤔 一般 🕐 1225 Report Contiguous Dates 🤯 困难 🕐 1241 Number of Comments per Post 🤩 简单 🕐 1251 Average Selling Price 🤩 简单 🕐 1264 Page Recommendations 🤔 一般 🕐 1270 All People Report to the Given Manager 🤔 一般 🕐 1280 Students and Examinations 🤩 简单 🕐 1285 Find the Start and End Number of Continuous Ranges 🤔 一般 🕐 1294 Weather Type in Each Country 🤩 简单 🕐 1303 Find the Team Size 🤩 简单 🕐 1308 Running Total for Different Genders 🤔 一般 🕐 1321 Restaurant Growth 🤔 一般 🕐 1322 Ads Performance 🤩 简单 🆖 1327 List the Products Ordered in a Period 🤩 简单 🕐 1336 Number of Transactions per Visit 🤯 困难 🕐 1341 Movie Rating 🤔 一般 🕐 1350 Students With Invalid Departments 🤩 简单 🕐 1355 Activity Participants 🤔 一般 🕐 1364 Number of Trusted Contacts of a Customer 🤔 一般 🕐 1369 Get the Second Most Recent Activity 🤯 困难 🕐 1378 Replace Employee ID With The Unique Identifier 🤩 简单 🕐 1384 Total Sales Amount by Year 🤯 困难 🕐 1393 Capital Gain/Loss 🤔 一般 🕐 1398 Customers Who Bought Products A and B but Not C 🤔 一般 🕐 1407 Top Travellers 🤩 简单 🕐 1412 Find the Quiet Students in All Exams 🤯 困难 🕐 1421 NPV Queries 🤩 简单 🕐 1435 Create a Session Bar Chart 🤩 简单 🕐 1440 Evaluate Boolean Expression 🤔 一般 🕐 1445 Apples & Oranges 🤔 一般 🕐 1454 Active Users 🤔 一般 🕐 1459 Rectangles Area 🤔 一般 🕐 1468 Calculate Salaries 🤔 一般 🕐 1479 Sales by Day of the Week 🤯 困难 🕐 1484 Group Sold Products By The Date 🤩 简单 🕐 1495 Friendly Movies Streamed Last Month 🤩 简单 🕐 1501 Countries You Can Safely Invest In 🤔 一般 🕐 1511 Customer Order Frequency 🤩 简单 🕐 1517 Find Users With Valid E-Mails 🤩 简单 🕐 1527 Patients With a Condition 🤩 简单 🕐 1532 The Most Recent Three Orders 🤔 一般 🕐 1543 Fix Product Name Format 🤩 简单 🕐 1549 The Most Recent Orders for Each Product 🤔 一般 🕐 1555 Bank Account Summary 🤔 一般 🕐 1565 Unique Orders and Customers Per Month 🤩 简单 🕐 1571 Warehouse Manager 🤩 简单 🕐 1581 Customer Who Visited but Did Not Make Any Transactions 🤩 简单 🕐 1587 Bank Account Summary II 🤩 简单 🕐 1596 The Most Frequently Ordered Products for Each Customer 🤔 一般 🕐 1607 Sellers With No Sales 🤩 简单 🕐 1613 Find the Missing IDs 🤔 一般 🕐 1623 All Valid Triplets That Can Represent a Country 🤩 简单 🕐 1633 Percentage of Users Attended a Contest 🤩 简单 🕐 1635 Hopper Company Queries I 🤯 困难 🕐 1645 Hopper Company Queries II 🤯 困难 🕐 1651 Hopper Company Queries III 🤯 困难 🕐 1661 Average Time of Process per Machine 🤩 简单 🕐 1667 Fix Names in a Table 🤩 简单 🕐 1677 Product's Worth Over Invoices 🤩 简单 🕐 1683 Invalid Tweets 🤩 简单 🕐 1693 Daily Leads and Partners 🤩 简单 🕐 1699 Number of Calls Between Two Persons 🤔 一般 🕐 1709 Biggest Window Between Visits 🤔 一般 🕐 1715 Count Apples and Oranges 🤔 一般 🕐 1729 Find Followers Count 🤩 简单 🕐 1731 The Number of Employees Which Report to Each Employee 🤩 简单 🕐 1741 Find Total Time Spent by Each Employee 🤩 简单 🕐 1747 Leetflex Banned Accounts 🤔 一般 🕐 1757 Recyclable and Low Fat Products 🤩 简单 🕐 1767 Find the Subtasks That Did Not Execute 🤯 困难 🕐 1777 Product's Price for Each Store 🤩 简单 🕐 1783 Grand Slam Titles 🤔 一般 🕐 1789 Primary Department for Each Employee 🤩 简单 🕐 1795 Rearrange Products Table 🤩 简单 🕐 1809 Ad-Free Sessions 🤩 简单 🕐 1811 Find Interview Candidates 🤔 一般 🕐 1821 Find Customers With Positive Revenue this Year 🤩 简单 🕐 1831 Maximum Transaction Each Day 🤔 一般 🕐 1841 League Statistics 🤔 一般 🕐 1843 Suspicious Bank Accounts 🤔 一般 🕐 1853 Convert Date Format 🤩 简单 🕐 1867 Orders With Maximum Quantity Above Average 🤔 一般 🕐 1873 Calculate Special Bonus 🤩 简单 🕐 1875 Group Employees of the Same Salary 🤔 一般 🕐 1890 The Latest Login in 2020 🤩 简单 🕐 1892 Page Recommendations II 🤯 困难 🕐 1907 Count Salary Categories 🤔 一般 🕐 1917 Leetcodify Friends Recommendations 🤯 困难 🕐 1919 Leetcodify Similar Friends 🤯 困难 🕐 1934 Confirmation Rate 🤔 一般 🕐 1939 Users That Actively Request Confirmation Messages 🤩 简单 🕐 1949 Strong Friendship 🤔 一般 🕐 1951 All the Pairs With the Maximum Number of Common Followers 🤔 一般 🕐 1965 Employees With Missing Information 🤩 简单 🕐 1972 First and Last Call On the Same Day 🤯 困难 🕐 1978 Employees Whose Manager Left the Company 🤩 简单 🕐 1988 Find Cutoff Score for Each School 🤔 一般 🕐 1990 Count the Number of Experiments 🤩 简单 🕐 2004 The Number of Seniors and Juniors to Join the Company 🤯 困难 🕐 2010 The Number of Seniors and Juniors to Join the Company II 🤯 困难 🕐 2020 Number of Accounts That Did Not Stream 🤔 一般 🕐 2026 Low-Quality Problems 🤩 简单 🕐 2041 Accepted Candidates From the Interviews 🤔 一般 🕐 2051 The Category of Each Member in the Store 🤔 一般 🕐 2066 Account Balance 🤔 一般 🕐 2072 The Winner University 🤩 简单 🕐 2082 The Number of Rich Customers 🤩 简单 🕐 2084 Drop Type 1 Orders for Customers With Type 0 Orders 🤔 一般 🕐 2112 The Airport With the Most Traffic 🤔 一般 🕐 2118 Build the Equation 🤯 困难 🕐 2142 The Number of Passengers in Each Bus I 🤔 一般 🕐 192 Word Frequency 🤔 一般 🕐 193 Valid Phone Numbers 🤩 简单 🕐 194 Transpose File 🤔 一般 🕐 195 Tenth Line 🤩 简单 🕐 1117 Building H2O 🤔 一般 🕐 1115 Print FooBar Alternately 🤔 一般 🕐 1114 Print in Order 🤩 简单 🕐 1188 Design Bounded Blocking Queue 🤔 一般 🕐 1116 Print Zero Even Odd 🤔 一般 🕐 1195 Fizz Buzz Multithreaded 🤔 一般 🕐 1226 The Dining Philosophers 🤔 一般 🕐 1242 Web Crawler Multithreaded 🤔 一般 🕐 1279 Traffic Light Controlled Intersection 🤩 简单 🕐 面试题 01.01 Is Unique LCCI 🤩 简单 🕐 面试题 01.02 Check Permutation LCCI 🤩 简单 🕐 面试题 01.03 String to URL LCCI 🤩 简单 🕐 面试题 01.06 Compress String LCCI 🤩 简单 🕐 面试题 01.09 String Rotation LCCI 🤩 简单 🕐 面试题 02.01 Remove Duplicate Node LCCI 🤩 简单 🕐 面试题 02.06 Palindrome Linked List LCCI 🤩 简单 🕐 面试题 02.07 Intersection of Two Linked Lists LCCI 🤩 简单 🕐 面试题 02.08 Linked List Cycle LCCI 🤔 一般 🕐 面试题 03.02 Min Stack LCCI 🤩 简单 🕐 面试题 03.04 Implement Queue using Stacks LCCI 🤩 简单 🕐 面试题 04.01 Route Between Nodes LCCI 🤔 一般 🕐 面试题 03.01 Three in One LCCI 🤩 简单 🕐 面试题 03.05 Sort of Stacks LCCI 🤔 一般 🕐 面试题 04.02 Minimum Height Tree LCCI 🤩 简单 🕐 面试题 04.03 List of Depth LCCI 🤔 一般 🕐 面试题 04.04 Check Balance LCCI 🤩 简单 🕐 面试题 04.05 Legal Binary Search Tree LCCI 🤔 一般 🕐 面试题 04.06 Successor LCCI 🤔 一般 🕐 面试题 04.08 First Common Ancestor LCCI 🤔 一般 🕐 面试题 05.01 Insert Into Bits LCCI 🤩 简单 🕐 面试题 05.06 Convert Integer LCCI 🤩 简单 🕐 面试题 05.07 Exchange LCCI 🤩 简单 🕐 面试题 05.04 Closed Number LCCI 🤔 一般 🕐 面试题 01.04 Palindrome Permutation LCCI 🤩 简单 🕐 面试题 01.07 Rotate Matrix LCCI 🤔 一般 🕐 面试题 01.08 Zero Matrix LCCI 🤔 一般 🕐 面试题 02.03 Delete Middle Node LCCI 🤩 简单 🕐 面试题 02.05 Sum Lists LCCI 🤔 一般 🕐 面试题 03.03 Stack of Plates LCCI 🤔 一般 🕐 面试题 05.08 Draw Line LCCI 🤔 一般 🕐 面试题 08.01 Three Steps Problem LCCI 🤩 简单 🕐 面试题 08.04 Power Set LCCI 🤔 一般 🕐 面试题 08.05 Recursive Mulitply LCCI 🤔 一般 🕐 面试题 08.09 Bracket LCCI 🤔 一般 🕐 面试题 08.10 Color Fill LCCI 🤩 简单 🕐 面试题 08.13 Pile Box LCCI 🤯 困难 🕐 面试题 05.02 Binary Number to String LCCI 🤔 一般 🕐 面试题 03.06 Animal Shelter LCCI 🤩 简单 🕐 面试题 04.10 Check SubTree LCCI 🤔 一般 🕐 面试题 05.03 Reverse Bits LCCI 🤩 简单 🕐 面试题 08.11 Coin LCCI 🤔 一般 🕐 面试题 10.03 Search Rotate Array LCCI 🤔 一般 🕐 面试题 08.12 Eight Queens LCCI 🤯 困难 🕐 面试题 08.03 Magic Index LCCI 🤩 简单 🕐 面试题 08.07 Permutation I LCCI 🤔 一般 🕐 面试题 10.05 Sparse Array Search LCCI 🤩 简单 🕐 面试题 16.01 Swap Numbers LCCI 🤔 一般 🕐 面试题 16.02 Words Frequency LCCI 🤔 一般 🕐 面试题 16.03 Intersection LCCI 🤯 困难 🕐 面试题 16.04 Tic-Tac-Toe LCCI 🤔 一般 🕐 面试题 16.06 Smallest Difference LCCI 🤔 一般 🕐 面试题 08.08 Permutation II LCCI 🤔 一般 🕐 面试题 16.07 Maximum LCCI 🤩 简单 🕐 面试题 16.09 Operations LCCI 🤔 一般 🕐 面试题 16.10 Living People LCCI 🤔 一般 🕐 面试题 16.11 Diving Board LCCI 🤩 简单 🕐 面试题 16.13 Bisect Squares LCCI 🤔 一般 🕐 面试题 16.14 Best Line LCCI 🤔 一般 🕐 面试题 16.15 Master Mind LCCI 🤩 简单 🕐 面试题 16.16 Sub Sort LCCI 🤔 一般 🕐 面试题 16.17 Contiguous Sequence LCCI 🤩 简单 🕐 面试题 16.18 Pattern Matching LCCI 🤔 一般 🕐 面试题 16.19 Pond Sizes LCCI 🤔 一般 🕐 面试题 01.05 One Away LCCI 🤔 一般 🕐 面试题 02.02 Kth Node From End of List LCCI 🤩 简单 🕐 面试题 02.04 Partition List LCCI 🤔 一般 🕐 面试题 04.12 Paths with Sum LCCI 🤔 一般 🕐 面试题 04.09 BST Sequences LCCI 🤯 困难 🕐 面试题 08.02 Robot in a Grid LCCI 🤔 一般 🕐 面试题 10.01 Sorted Merge LCCI 🤩 简单 🕐 面试题 10.11 Peaks and Valleys LCCI 🤔 一般 🕐 面试题 08.06 Hanota LCCI 🤩 简单 🕐 面试题 10.09 Sorted Matrix Search LCCI 🤔 一般 🕐 面试题 16.05 Factorial Zeros LCCI 🤩 简单 🕐 面试题 16.08 English Int LCCI 🤯 困难 🕐 面试题 17.12 BiNode LCCI 🤩 简单 🕐 面试题 17.13 Re-Space LCCI 🤔 一般 🕐 面试题 17.14 Smallest K LCCI 🤔 一般 ✅ 面试题 17.15 Longest Word LCCI 🤔 一般 🕐 面试题 17.16 The Masseuse LCCI 🤩 简单 🕐 面试题 17.17 Multi Search LCCI 🤔 一般 🕐 面试题 17.01 Add Without Plus LCCI 🤩 简单 🕐 面试题 16.25 LRU Cache LCCI 🤔 一般 🕐 面试题 16.26 Calculator LCCI 🤔 一般 🕐 面试题 17.20 Continuous Median LCCI 🤯 困难 🕐 面试题 17.21 Volume of Histogram LCCI 🤯 困难 🕐 面试题 17.22 Word Transformer LCCI 🤔 一般 🕐 面试题 08.14 Boolean Evaluation LCCI 🤔 一般 🕐 面试题 17.04 Missing Number LCCI 🤩 简单 🕐 面试题 17.05 Find Longest Subarray LCCI 🤔 一般 🕐 面试题 17.06 Number Of 2s In Range LCCI 🤯 困难 🕐 面试题 17.07 Baby Names LCCI 🤔 一般 🕐 面试题 17.08 Circus Tower LCCI 🤔 一般 🕐 面试题 17.09 Get Kth Magic Number LCCI 🤔 一般 🕐 面试题 17.10 Find Majority Element LCCI 🤩 简单 🕐 面试题 17.11 Find Closest LCCI 🤔 一般 🕐 面试题 10.02 Group Anagrams LCCI 🤔 一般 🕐 面试题 10.10 Rank from Stream LCCI 🤔 一般 🕐 面试题 16.24 Pairs With Sum LCCI 🤔 一般 🕐 面试题 17.18 Shortest Supersequence LCCI 🤔 一般 🕐 面试题 17.19 Missing Two LCCI 🤯 困难 🕐 面试题 17.23 Max Black Square LCCI 🤔 一般 🕐 面试题 17.24 Max Submatrix LCCI 🤯 困难 🕐 面试题 16.20 T9 LCCI 🤔 一般 🕐 面试题 16.21 Sum Swap LCCI 🤔 一般 🕐 面试题 17.25 Word Rectangle LCCI 🤯 困难 🕐 面试题 16.22 Langtons Ant LCCI 🤔 一般 🕐 面试题 17.26 Sparse Similarity LCCI 🤯 困难 🕐 剑指 Offer 09 用两个栈实现队列 LCOF 🤩 简单 ✅ 剑指 Offer 10- I 斐波那契数列 LCOF 🤩 简单 🕐 剑指 Offer 03 数组中重复的数字 LCOF 🤩 简单 🕐 剑指 Offer 04 二维数组中的查找 LCOF 🤔 一般 🕐 剑指 Offer 10- II 青蛙跳台阶问题 LCOF 🤩 简单 🕐 剑指 Offer 11 旋转数组的最小数字 LCOF 🤩 简单 🕐 剑指 Offer 12 矩阵中的路径 LCOF 🤔 一般 🕐 剑指 Offer 05 替换空格 LCOF 🤩 简单 ✅ 剑指 Offer 13 机器人的运动范围 LCOF 🤔 一般 🕐 剑指 Offer 06 从尾到头打印链表 LCOF 🤩 简单 ✅ 剑指 Offer 07 重建二叉树 LCOF 🤔 一般 🕐 剑指 Offer 14- I 剪绳子 LCOF 🤔 一般 🕐 剑指 Offer 14- II 剪绳子 II LCOF 🤔 一般 🕐 剑指 Offer 25 合并两个排序的链表 LCOF 🤩 简单 🕐 剑指 Offer 26 树的子结构 LCOF 🤔 一般 🕐 剑指 Offer 27 二叉树的镜像 LCOF 🤩 简单 🕐 剑指 Offer 28 对称的二叉树 LCOF 🤩 简单 🕐 剑指 Offer 20 表示数值的字符串 LCOF 🤔 一般 🕐 剑指 Offer 21 调整数组顺序使奇数位于偶数前面 LCOF 🤩 简单 🕐 剑指 Offer 15 二进制中1的个数 LCOF 🤩 简单 🕐 剑指 Offer 29 顺时针打印矩阵 LCOF 🤩 简单 🕐 剑指 Offer 22 链表中倒数第k个节点 LCOF 🤩 简单 ✅ 剑指 Offer 16 数值的整数次方 LCOF 🤔 一般 🕐 剑指 Offer 17 打印从1到最大的n位数 LCOF 🤩 简单 🕐 剑指 Offer 19 正则表达式匹配 LCOF 🤯 困难 🕐 剑指 Offer 24 反转链表 LCOF 🤩 简单 🕐 剑指 Offer 18 删除链表的节点 LCOF 🤩 简单 🕐 剑指 Offer 35 复杂链表的复制 LCOF 🤔 一般 🕐 剑指 Offer 40 最小的k个数 LCOF 🤩 简单 🕐 剑指 Offer 30 包含min函数的栈 LCOF 🤩 简单 ✅ 剑指 Offer 41 数据流中的中位数 LCOF 🤯 困难 🕐 剑指 Offer 42 连续子数组的最大和 LCOF 🤩 简单 🕐 剑指 Offer 36 二叉搜索树与双向链表 LCOF 🤔 一般 🕐 剑指 Offer 31 栈的压入、弹出序列 LCOF 🤔 一般 🕐 剑指 Offer 37 序列化二叉树 LCOF 🤯 困难 🕐 剑指 Offer 38 字符串的排列 LCOF 🤔 一般 🕐 剑指 Offer 43 1~n整数中1出现的次数 LCOF 🤯 困难 🕐 剑指 Offer 39 数组中出现次数超过一半的数字 LCOF 🤩 简单 🕐 剑指 Offer 32 - I 从上到下打印二叉树 LCOF 🤔 一般 🕐 剑指 Offer 32 - II 从上到下打印二叉树 II LCOF 🤩 简单 🕐 剑指 Offer 44 数字序列中某一位的数字 LCOF 🤔 一般 🕐 剑指 Offer 32 - III 从上到下打印二叉树 III LCOF 🤔 一般 🕐 剑指 Offer 33 二叉搜索树的后序遍历序列 LCOF 🤔 一般 🕐 剑指 Offer 50 第一个只出现一次的字符 LCOF 🤩 简单 🕐 剑指 Offer 34 二叉树中和为某一值的路径 LCOF 🤔 一般 🕐 剑指 Offer 51 数组中的逆序对 LCOF 🤯 困难 🕐 剑指 Offer 55 - I 二叉树的深度 LCOF 🤩 简单 🕐 剑指 Offer 56 - I 数组中数字出现的次数 LCOF 🤔 一般 🕐 剑指 Offer 56 - II 数组中数字出现的次数 II LCOF 🤔 一般 🕐 剑指 Offer 57 和为s的两个数字 LCOF 🤩 简单 🕐 剑指 Offer 45 把数组排成最小的数 LCOF 🤔 一般 🕐 剑指 Offer 57 - II 和为s的连续正数序列 LCOF 🤩 简单 🕐 剑指 Offer 46 把数字翻译成字符串 LCOF 🤔 一般 🕐 剑指 Offer 52 两个链表的第一个公共节点 LCOF 🤩 简单 🕐 剑指 Offer 47 礼物的最大价值 LCOF 🤔 一般 🕐 剑指 Offer 58 - I 翻转单词顺序 LCOF 🤩 简单 🕐 剑指 Offer 53 - I 在排序数组中查找数字 LCOF 🤩 简单 🕐 剑指 Offer 58 - II 左旋转字符串 LCOF 🤩 简单 ✅ 剑指 Offer 53 - II 缺失的数字 LCOF 🤩 简单 🕐 剑指 Offer 48 最长不含重复字符的子字符串 LCOF 🤔 一般 🕐 剑指 Offer 54 二叉搜索树的第k大节点 LCOF 🤩 简单 🕐 剑指 Offer 49 丑数 LCOF 🤔 一般 🕐 剑指 Offer 65 不用加减乘除做加法 LCOF 🤩 简单 🕐 剑指 Offer 59 - I 滑动窗口的最大值 LCOF 🤯 困难 🕐 剑指 Offer 59 - II 队列的最大值 LCOF 🤔 一般 🕐 剑指 Offer 66 构建乘积数组 LCOF 🤔 一般 🕐 剑指 Offer 60 n个骰子的点数 LCOF 🤔 一般 🕐 剑指 Offer 67 把字符串转换成整数 LCOF 🤔 一般 🕐 剑指 Offer 61 扑克牌中的顺子 LCOF 🤩 简单 🕐 剑指 Offer 55 - II 平衡二叉树 LCOF 🤩 简单 🕐 剑指 Offer 62 圆圈中最后剩下的数字 LCOF 🤩 简单 🕐 剑指 Offer 63 股票的最大利润 LCOF 🤔 一般 🕐 剑指 Offer 64 求1+2+…+n LCOF 🤔 一般 🕐 剑指 Offer 68 - I 二叉搜索树的最近公共祖先 LCOF 🤩 简单 🕐 剑指 Offer 68 - II 二叉树的最近公共祖先 LCOF 🤩 简单 🕐 剑指 Offer II 001 整数除法 🤩 简单 🕐 剑指 Offer II 081 允许重复选择元素的组合 🤔 一般 🕐 剑指 Offer II 003 前 n 个数字二进制中 1 的个数 🤩 简单 🕐 剑指 Offer II 002 二进制加法 🤩 简单 🕐 剑指 Offer II 082 含有重复元素集合的组合 🤔 一般 🕐 剑指 Offer II 004 只出现一次的数字 🤔 一般 🕐 剑指 Offer II 083 没有重复元素集合的全排列 🤔 一般 🕐 剑指 Offer II 084 含有重复元素集合的全排列 🤔 一般 ✅ 剑指 Offer II 005 单词长度的最大乘积 🤔 一般 🕐 剑指 Offer II 006 排序数组中两个数字之和 🤩 简单 🕐 剑指 Offer II 085 生成匹配的括号 🤔 一般 🕐 剑指 Offer II 007 数组中和为 0 的三个数 🤔 一般 🕐 剑指 Offer II 086 分割回文子字符串 🤔 一般 🕐 剑指 Offer II 087 复原 IP 🤔 一般 🕐 剑指 Offer II 008 和大于等于 target 的最短子数组 🤔 一般 ✅ 剑指 Offer II 088 爬楼梯的最少成本 🤩 简单 🕐 剑指 Offer II 009 乘积小于 K 的子数组 🤔 一般 ✅ 剑指 Offer II 089 房屋偷盗 🤔 一般 🕐 剑指 Offer II 010 和为 k 的子数组 🤔 一般 🕐 剑指 Offer II 011 0 和 1 个数相同的子数组 🤔 一般 🕐 剑指 Offer II 012 左右两边子数组的和相等 🤩 简单 🕐 剑指 Offer II 013 二维子矩阵的和 🤔 一般 🕐 剑指 Offer II 014 字符串中的变位词 🤔 一般 🕐 剑指 Offer II 015 字符串中的所有变位词 🤔 一般 🕐 剑指 Offer II 016 不含重复字符的最长子字符串 🤔 一般 🕐 剑指 Offer II 017 含有所有字符的最短字符串 🤯 困难 🕐 剑指 Offer II 018 有效的回文 🤩 简单 🕐 剑指 Offer II 019 最多删除一个字符得到回文 🤩 简单 🕐 剑指 Offer II 020 回文子字符串的个数 🤔 一般 ✅ 剑指 Offer II 021 删除链表的倒数第 n 个结点 🤔 一般 🕐 剑指 Offer II 022 链表中环的入口节点 🤔 一般 🕐 剑指 Offer II 023 两个链表的第一个重合节点 🤩 简单 🕐 剑指 Offer II 024 反转链表 🤩 简单 🕐 剑指 Offer II 025 链表中的两数相加 🤔 一般 🕐 剑指 Offer II 026 重排链表 🤔 一般 🕐 剑指 Offer II 027 回文链表 🤩 简单 🕐 剑指 Offer II 028 展平多级双向链表 🤔 一般 ✅ 剑指 Offer II 029 排序的循环链表 🤔 一般 🕐 剑指 Offer II 090 环形房屋偷盗 🤔 一般 🕐 剑指 Offer II 030 插入、删除和随机访问都是 O(1) 的容器 🤔 一般 🕐 剑指 Offer II 091 粉刷房子 🤔 一般 🕐 剑指 Offer II 092 翻转字符 🤔 一般 🕐 剑指 Offer II 031 最近最少使用缓存 🤔 一般 🕐 剑指 Offer II 093 最长斐波那契数列 🤔 一般 🕐 剑指 Offer II 094 最少回文分割 🤯 困难 🕐 剑指 Offer II 032 有效的变位词 🤩 简单 🕐 剑指 Offer II 095 最长公共子序列 🤔 一般 🕐 剑指 Offer II 033 变位词组 🤔 一般 🕐 剑指 Offer II 034 外星语言是否排序 🤩 简单 🕐 剑指 Offer II 096 字符串交织 🤔 一般 🕐 剑指 Offer II 035 最小时间差 🤔 一般 🕐 剑指 Offer II 036 后缀表达式 🤔 一般 🕐 剑指 Offer II 097 子序列的数目 🤯 困难 🕐 剑指 Offer II 037 小行星碰撞 🤔 一般 🕐 剑指 Offer II 038 每日温度 🤔 一般 🕐 剑指 Offer II 039 直方图最大矩形面积 🤯 困难 🕐 剑指 Offer II 040 矩阵中最大的矩形 🤯 困难 🕐 剑指 Offer II 099 最小路径之和 🤔 一般 🕐 剑指 Offer II 100 三角形中最小路径之和 🤔 一般 🕐 剑指 Offer II 101 分割等和子集 🤩 简单 🕐 剑指 Offer II 102 加减的目标值 🤔 一般 🕐 剑指 Offer II 103 最少的硬币数目 🤔 一般 🕐 剑指 Offer II 104 排列的数目 🤔 一般 🕐 剑指 Offer II 105 岛屿的最大面积 🤔 一般 🕐 剑指 Offer II 041 滑动窗口的平均值 🤩 简单 ✅ 剑指 Offer II 042 最近请求次数 🤩 简单 🕐 剑指 Offer II 106 二分图 🤔 一般 🕐 剑指 Offer II 043 往完全二叉树添加节点 🤔 一般 🕐 剑指 Offer II 107 矩阵中的距离 🤔 一般 🕐 剑指 Offer II 044 二叉树每层的最大值 🤔 一般 ✅ 剑指 Offer II 045 二叉树最底层最左边的值 🤔 一般 🕐 剑指 Offer II 046 二叉树的右侧视图 🤔 一般 🕐 剑指 Offer II 108 单词演变 🤯 困难 🕐 剑指 Offer II 047 二叉树剪枝 🤔 一般 🕐 剑指 Offer II 109 开密码锁 🤔 一般 🕐 剑指 Offer II 110 所有路径 🤔 一般 🕐 剑指 Offer II 048 序列化与反序列化二叉树 🤯 困难 🕐 剑指 Offer II 111 计算除法 🤔 一般 🕐 剑指 Offer II 049 从根节点到叶节点的路径数字之和 🤔 一般 🕐 剑指 Offer II 050 向下的路径节点之和 🤔 一般 🕐 剑指 Offer II 112 最长递增路径 🤯 困难 🕐 剑指 Offer II 051 节点之和最大的路径 🤯 困难 🕐 剑指 Offer II 113 课程顺序 🤔 一般 🕐 剑指 Offer II 052 展平二叉搜索树 🤩 简单 🕐 剑指 Offer II 114 外星文字典 🤯 困难 🕐 剑指 Offer II 053 二叉搜索树中的中序后继 🤔 一般 🕐 剑指 Offer II 115 重建序列 🤔 一般 🕐 剑指 Offer II 054 所有大于等于节点的值之和 🤔 一般 🕐 剑指 Offer II 055 二叉搜索树迭代器 🤔 一般 🕐 剑指 Offer II 117 相似的字符串 🤯 困难 🕐 剑指 Offer II 118 多余的边 🤔 一般 🕐 剑指 Offer II 056 二叉搜索树中两个节点之和 🤩 简单 🕐 剑指 Offer II 119 最长连续序列 🤔 一般 🕐 剑指 Offer II 057 值和下标之差都在给定的范围内 🤔 一般 🕐 剑指 Offer II 058 日程表 🤔 一般 🕐 剑指 Offer II 059 数据流的第 K 大数值 🤩 简单 🕐 剑指 Offer II 060 出现频率最高的 k 个数字 🤔 一般 🕐 剑指 Offer II 062 实现前缀树 🤔 一般 🕐 剑指 Offer II 061 和最小的 k 个数对 🤔 一般 🕐 剑指 Offer II 063 替换单词 🤔 一般 🕐 剑指 Offer II 064 神奇的字典 🤔 一般 🕐 剑指 Offer II 065 最短的单词编码 🤔 一般 🕐 剑指 Offer II 066 单词之和 🤔 一般 🕐 剑指 Offer II 067 最大的异或 🤔 一般 🕐 剑指 Offer II 068 查找插入位置 🤩 简单 🕐 剑指 Offer II 069 山峰数组的顶部 🤩 简单 🕐 剑指 Offer II 070 排序数组中只出现一次的数字 🤔 一般 🕐 剑指 Offer II 071 按权重生成随机数 🤔 一般 🕐 剑指 Offer II 072 求平方根 🤩 简单 ✅ 剑指 Offer II 073 狒狒吃香蕉 🤔 一般 🕐 剑指 Offer II 074 合并区间 🤔 一般 🕐 剑指 Offer II 075 数组相对排序 🤩 简单 🕐 剑指 Offer II 076 数组中的第 k 大的数字 🤔 一般 🕐 剑指 Offer II 077 链表排序 🤔 一般 🕐 剑指 Offer II 078 合并排序链表 🤯 困难 🕐 剑指 Offer II 079 所有子集 🤔 一般 🕐 剑指 Offer II 080 含有 k 个元素的组合 🤔 一般 🕐 剑指 Offer II 098 路径的数目 🤔 一般 🕐 剑指 Offer II 116 省份数量 🤔 一般 🕐