LeetCode 的 Go 解答
统计规则:1.免费题,2.算法题,3.能提交 Go 解答
Easy | Medium | Hard | Total | |
---|---|---|---|---|
Accepted | 55 | 94 | 22 | 171 |
Total | 301 | 545 | 227 | 1073 |
题号 | 题目 | 通过率 | 难度 | 收藏 |
---|---|---|---|---|
0001 | Two Sum | 47% | Easy | |
0002 | Add Two Numbers | 37% | Medium | |
0003 | Longest Substring Without Repeating Characters | 33% | Medium | |
0004 | Median of Two Sorted Arrays | 37% | Hard | |
0005 | Longest Palindromic Substring | 29% | Medium | |
0006 | ZigZag Conversion | 47% | Medium | |
0007 | Reverse Integer | 33% | Easy | |
0008 | String to Integer (atoi) | 20% | Medium | |
0009 | Palindrome Number | 57% | Easy | |
0010 | Regular Expression Matching | 27% | Hard | |
0011 | Container With Most Water | 62% | Medium | |
0012 | Integer to Roman | 62% | Medium | |
0013 | Roman to Integer | 61% | Easy | |
0014 | Longest Common Prefix | 36% | Easy | |
0015 | 3Sum | 26% | Medium | |
0016 | 3Sum Closest | 43% | Medium | |
0017 | Letter Combinations of a Phone Number | 53% | Medium | |
0018 | 4Sum | 37% | Medium | |
0019 | Remove Nth Node From End of List | 38% | Medium | |
0020 | Valid Parentheses | 41% | Easy | |
0021 | Merge Two Sorted Lists | 60% | Easy | |
0022 | Generate Parentheses | 73% | Medium | |
0023 | Merge k Sorted Lists | 49% | Hard | |
0024 | Swap Nodes in Pairs | 65% | Medium | |
0025 | Reverse Nodes in k-Group | 57% | Hard | |
0026 | Remove Duplicates from Sorted Array | 49% | Easy | |
0027 | Remove Element | 57% | Easy | |
0028 | Implement strStr() | 39% | Easy | |
0029 | Divide Two Integers | 19% | Medium | |
0030 | Substring with Concatenation of All Words | 30% | Hard | |
0031 | Next Permutation | 33% | Medium | |
0032 | Longest Valid Parentheses | 30% | Hard | |
0033 | Search in Rotated Sorted Array | 36% | Medium | |
0034 | Find First and Last Position of Element in Sorted Array | 39% | Medium | |
0035 | Search Insert Position | 45% | Easy | |
0036 | Valid Sudoku | 58% | Medium | |
0037 | * Sudoku Solver | 60% | Hard | |
0038 | Count and Say | 54% | Easy | |
0039 | Combination Sum | 68% | Medium | |
0040 | Combination Sum II | 61% | Medium | |
0041 | First Missing Positive | 37% | Hard | |
0042 | Trapping Rain Water | 50% | Hard | |
0043 | Multiply Strings | 41% | Medium | |
0044 | * Wildcard Matching | 27% | Hard | |
0045 | Jump Game II | 33% | Hard | |
0046 | Permutations | 74% | Medium | |
0047 | Permutations II | 57% | Medium | |
0048 | Rotate Image | 67% | Medium | |
0049 | Group Anagrams | 61% | Medium | |
0050 | Pow(x, n) | 34% | Medium | |
0051 | N-Queens | 68% | Hard | |
0052 | N-Queens II | 77% | Hard | |
0053 | Maximum Subarray | 50% | Easy | |
0054 | Spiral Matrix | 39% | Medium | |
0055 | Jump Game | 38% | Medium | |
0056 | * Merge Intervals | 40% | Medium | |
0057 | * Insert Interval | 37% | Hard | |
0058 | Length of Last Word | 32% | Easy | |
0059 | Spiral Matrix II | 76% | Medium | |
0060 | Permutation Sequence | 48% | Medium | |
0061 | Rotate List | 40% | Medium | |
0062 | Unique Paths | 59% | Medium | |
0063 | Unique Paths II | 32% | Medium | |
0064 | Minimum Path Sum | 65% | Medium | |
0065 | * Valid Number | 18% | Hard | |
0066 | Plus One | 43% | Easy | |
0067 | Add Binary | 52% | Easy | |
0068 | * Text Justification | 42% | Hard | |
0069 | Sqrt(x) | 37% | Easy | |
0070 | Climbing Stairs | 48% | Easy | |
0071 | * Simplify Path | 38% | Medium | |
0072 | Edit Distance | 56% | Hard | |
0073 | Set Matrix Zeroes | 55% | Medium | |
0074 | Search a 2D Matrix | 37% | Medium | |
0075 | Sort Colors | 54% | Medium | |
0076 | Minimum Window Substring | 35% | Hard | |
0077 | Combinations | 73% | Medium | |
0078 | Subsets | 77% | Medium | |
0079 | Word Search | 41% | Medium | |
0080 | Remove Duplicates from Sorted Array II | 54% | Medium | |
0081 | Search in Rotated Sorted Array II | 35% | Medium | |
0082 | Remove Duplicates from Sorted List II | 47% | Medium | |
0083 | Remove Duplicates from Sorted List | 49% | Easy | |
0084 | Largest Rectangle in Histogram | 39% | Hard | |
0085 | Maximal Rectangle | 45% | Hard | |
0086 | Partition List | 56% | Medium | |
0087 | * Scramble String | 45% | Hard | |
0088 | Merge Sorted Array | 47% | Easy | |
0089 | Gray Code | 67% | Medium | |
0090 | Subsets II | 59% | Medium | |
0091 | Decode Ways | 23% | Medium | |
0092 | Reverse Linked List II | 49% | Medium | |
0093 | * Restore IP Addresses | 46% | Medium | |
0094 | Binary Tree Inorder Traversal | 70% | Medium | |
0095 | Unique Binary Search Trees II | 62% | Medium | |
0096 | Unique Binary Search Trees | 65% | Medium | |
0097 | Interleaving String | 39% | Hard | |
0098 | Validate Binary Search Tree | 29% | Medium | |
0099 | * Recover Binary Search Tree | 55% | Hard | |
0100 | Same Tree | 56% | Easy | |
0101 | Symmetric Tree | 50% | Easy | |
0102 | Binary Tree Level Order Traversal | 61% | Medium | |
0103 | Binary Tree Zigzag Level Order Traversal | 54% | Medium | |
0104 | Maximum Depth of Binary Tree | 72% | Easy | |
0105 | Construct Binary Tree from Preorder and Inorder Traversal | 64% | Medium | |
0106 | Construct Binary Tree from Inorder and Postorder Traversal | 67% | Medium | |
0107 | Binary Tree Level Order Traversal II | 64% | Easy | |
0108 | Convert Sorted Array to Binary Search Tree | 70% | Easy | |
0109 | Convert Sorted List to Binary Search Tree | 71% | Medium | |
0110 | Balanced Binary Tree | 50% | Easy | |
0111 | Minimum Depth of Binary Tree | 41% | Easy | |
0112 | Path Sum | 49% | Easy | |
0113 | Path Sum II | 59% | Medium | |
0114 | Flatten Binary Tree to Linked List | 68% | Medium | |
0115 | * Distinct Subsequences | 47% | Hard | |
0116 | * Populating Next Right Pointers in Each Node | 57% | Medium | |
0117 | * Populating Next Right Pointers in Each Node II | 46% | Medium | |
0118 | Pascal's Triangle | 66% | Easy | |
0119 | Pascal's Triangle II | 60% | Easy | |
0120 | Triangle | 64% | Medium | |
0121 | Best Time to Buy and Sell Stock | 53% | Easy | |
0122 | Best Time to Buy and Sell Stock II | 58% | Easy | |
0123 | * Best Time to Buy and Sell Stock III | 42% | Hard | |
0124 | Binary Tree Maximum Path Sum | 39% | Hard | |
0125 | Valid Palindrome | 43% | Easy | |
0126 | * Word Ladder II | 31% | Hard | |
0127 | * Word Ladder | 40% | Medium | |
0128 | * Longest Consecutive Sequence | 48% | Hard | |
0129 | Sum Root to Leaf Numbers | 62% | Medium | |
0130 | Surrounded Regions | 39% | Medium | |
0131 | Palindrome Partitioning | 66% | Medium | |
0132 | Palindrome Partitioning II | 42% | Hard | |
0133 | * Clone Graph | 53% | Medium | |
0134 | * Gas Station | 52% | Medium | |
0135 | * Candy | 42% | Hard | |
0136 | Single Number | 66% | Easy | |
0137 | Single Number II | 66% | Medium | |
0138 | * Copy List with Random Pointer | 48% | Medium | |
0139 | Word Break | 44% | Medium | |
0140 | Word Break II | 37% | Hard | |
0141 | Linked List Cycle | 47% | Easy | |
0142 | * Linked List Cycle II | 49% | Medium | |
0143 | Reorder List | 55% | Medium | |
0144 | Binary Tree Preorder Traversal | 64% | Medium | |
0145 | Binary Tree Postorder Traversal | 70% | Hard | |
0146 | LRU Cache | 46% | Medium | |
0147 | Insertion Sort List | 63% | Medium | |
0148 | Sort List | 64% | Medium | |
0149 | * Max Points on a Line | 21% | Hard | |
0150 | * Evaluate Reverse Polish Notation | 49% | Medium | |
0151 | Reverse Words in a String | 37% | Medium | |
0152 | Maximum Product Subarray | 37% | Medium | |
0153 | Find Minimum in Rotated Sorted Array | 50% | Medium | |
0154 | * Find Minimum in Rotated Sorted Array II | 47% | Hard | |
0155 | Min Stack | 52% | Easy | |
0160 | Intersection of Two Linked Lists | 53% | Easy | |
0162 | Find Peak Element | 45% | Medium | |
0164 | Maximum Gap | 54% | Hard | |
0165 | Compare Version Numbers | 40% | Medium | |
0166 | Fraction to Recurring Decimal | 25% | Medium | |
0167 | Two Sum II - Input array is sorted | 53% | Easy | |
0168 | Excel Sheet Column Title | 37% | Easy | |
0169 | Majority Element | 62% | Easy | |
0171 | Excel Sheet Column Number | 66% | Easy | |
0172 | Factorial Trailing Zeroes | 39% | Easy | |
0173 | Binary Search Tree Iterator | 72% | Medium | |
0174 | * Dungeon Game | 40% | Hard | |
0179 | Largest Number | 35% | Medium | |
0187 | Repeated DNA Sequences | 43% | Medium | |
0188 | * Best Time to Buy and Sell Stock IV | 29% | Hard | |
0189 | Rotate Array | 40% | Easy | |
0190 | Reverse Bits | 56% | Easy | |
0191 | Number of 1 Bits | 66% | Easy | |
0198 | House Robber | 44% | Easy | |
0199 | Binary Tree Right Side View | 63% | Medium | |
0200 | Number of Islands | 47% | Medium | |
0201 | Bitwise AND of Numbers Range | 44% | Medium | |
0202 | Happy Number | 57% | Easy | |
0203 | Remove Linked List Elements | 44% | Easy | |
0204 | Count Primes | 33% | Easy | |
0205 | Isomorphic Strings | 47% | Easy | |
0206 | Reverse Linked List | 68% | Easy | |
0207 | Course Schedule | 49% | Medium | |
0208 | Implement Trie (Prefix Tree) | 66% | Medium | |
0209 | Minimum Size Subarray Sum | 41% | Medium | |
0210 | Course Schedule II | 46% | Medium | |
0211 | * Add and Search Word - Data structure design | 43% | Medium | |
0212 | * Word Search II | 39% | Hard | |
0213 | House Robber II | 37% | Medium | |
0214 | * Shortest Palindrome | 31% | Hard | |
0215 | Kth Largest Element in an Array | 61% | Medium | |
0216 | Combination Sum III | 70% | Medium | |
0217 | Contains Duplicate | 51% | Easy | |
0218 | * The Skyline Problem | 41% | Hard | |
0219 | Contains Duplicate II | 38% | Easy | |
0220 | * Contains Duplicate III | 25% | Medium | |
0221 | * Maximal Square | 39% | Medium | |
0222 | * Count Complete Tree Nodes | 67% | Medium | |
0223 | * Rectangle Area | 42% | Medium | |
0224 | * Basic Calculator | 37% | Hard | |
0225 | * Implement Stack using Queues | 64% | Easy | |
0226 | * Invert Binary Tree | 74% | Easy | |
0227 | * Basic Calculator II | 35% | Medium | |
0228 | * Summary Ranges | 51% | Medium | |
0229 | * Majority Element II | 42% | Medium | |
0230 | * Kth Smallest Element in a BST | 69% | Medium | |
0231 | * Power of Two | 47% | Easy | |
0232 | * Implement Queue using Stacks | 63% | Easy | |
0233 | * Number of Digit One | 34% | Hard | |
0234 | * Palindrome Linked List | 41% | Easy | |
0235 | * Lowest Common Ancestor of a Binary Search Tree | 63% | Easy | |
0236 | * Lowest Common Ancestor of a Binary Tree | 61% | Medium | |
0237 | * Delete Node in a Linked List | 80% | Easy | |
0238 | * Product of Array Except Self | 67% | Medium | |
0239 | * Sliding Window Maximum | 45% | Hard | |
0240 | * Search a 2D Matrix II | 39% | Medium | |
0241 | * Different Ways to Add Parentheses | 70% | Medium | |
0242 | * Valid Anagram | 59% | Easy | |
0257 | * Binary Tree Paths | 63% | Easy | |
0258 | * Add Digits | 66% | Easy | |
0260 | * Single Number III | 70% | Medium | |
0263 | * Ugly Number | 49% | Easy | |
0264 | * Ugly Number II | 50% | Medium | |
0268 | * Missing Number | 54% | Easy | |
0273 | * Integer to English Words | 26% | Hard | |
0274 | * H-Index | 38% | Medium | |
0275 | * H-Index II | 40% | Medium | |
0278 | * First Bad Version | 37% | Easy | |
0279 | * Perfect Squares | 55% | Medium | |
0282 | * Expression Add Operators | 32% | Hard | |
0283 | * Move Zeroes | 60% | Easy | |
0284 | * Peeking Iterator | 71% | Medium | |
0287 | * Find the Duplicate Number | 63% | Medium | |
0289 | * Game of Life | 74% | Medium | |
0290 | * Word Pattern | 42% | Easy | |
0292 | * Nim Game | 69% | Easy | |
0295 | * Find Median from Data Stream | 44% | Hard | |
0297 | * Serialize and Deserialize Binary Tree | 45% | Hard | |
0299 | * Bulls and Cows | 47% | Easy | |
0300 | * Longest Increasing Subsequence | 44% | Medium | |
0301 | * Remove Invalid Parentheses | 45% | Hard | |
0303 | * Range Sum Query - Immutable | 60% | Easy | |
0304 | * Range Sum Query 2D - Immutable | 43% | Medium | |
0306 | * Additive Number | 31% | Medium | |
0307 | * Range Sum Query - Mutable | 54% | Medium | |
0309 | * Best Time to Buy and Sell Stock with Cooldown | 53% | Medium | |
0310 | * Minimum Height Trees | 33% | Medium | |
0312 | * Burst Balloons | 58% | Hard | |
0313 | * Super Ugly Number | 62% | Medium | |
0315 | * Count of Smaller Numbers After Self | 37% | Hard | |
0316 | * Remove Duplicate Letters | 37% | Hard | |
0318 | * Maximum Product of Word Lengths | 62% | Medium | |
0319 | * Bulb Switcher | 45% | Medium | |
0321 | * Create Maximum Number | 27% | Hard | |
0322 | * Coin Change | 38% | Medium | |
0324 | * Wiggle Sort II | 35% | Medium | |
0326 | * Power of Three | 46% | Easy | |
0327 | * Count of Range Sum | 33% | Hard | |
0328 | * Odd Even Linked List | 61% | Medium | |
0329 | * Longest Increasing Path in a Matrix | 40% | Hard | |
0330 | * Patching Array | 40% | Hard | |
0331 | * Verify Preorder Serialization of a Binary Tree | 44% | Medium | |
0332 | * Reconstruct Itinerary | 36% | Medium | |
0334 | * Increasing Triplet Subsequence | 37% | Medium | |
0335 | * Self Crossing | 31% | Hard | |
0336 | * Palindrome Pairs | 33% | Hard | |
0337 | * House Robber III | 56% | Medium | |
0338 | * Counting Bits | 74% | Medium | |
0341 | * Flatten Nested List Iterator | 62% | Medium | |
0342 | * Power of Four | 48% | Easy | |
0343 | * Integer Break | 55% | Medium | |
0344 | * Reverse String | 69% | Easy | |
0345 | * Reverse Vowels of a String | 49% | Easy | |
0347 | * Top K Frequent Elements | 60% | Medium | |
0349 | * Intersection of Two Arrays | 68% | Easy | |
0350 | * Intersection of Two Arrays II | 47% | Easy | |
0352 | * Data Stream as Disjoint Intervals | 52% | Hard | |
0354 | * Russian Doll Envelopes | 34% | Hard | |
0355 | * Design Twitter | 36% | Medium | |
0357 | * Count Numbers with Unique Digits | 50% | Medium | |
0363 | * Max Sum of Rectangle No Larger Than K | 34% | Hard | |
0365 | * Water and Jug Problem | 35% | Medium | |
0367 | * Valid Perfect Square | 43% | Easy | |
0368 | * Largest Divisible Subset | 37% | Medium | |
0371 | * Sum of Two Integers | 54% | Easy | |
0372 | * Super Pow | 39% | Medium | |
0373 | * Find K Pairs with Smallest Sums | 41% | Medium | |
0374 | * Guess Number Higher or Lower | 43% | Easy | |
0375 | * Guess Number Higher or Lower II | 37% | Medium | |
0376 | * Wiggle Subsequence | 41% | Medium | |
0377 | * Combination Sum IV | 41% | Medium | |
0378 | * Kth Smallest Element in a Sorted Matrix | 58% | Medium | |
0380 | * Insert Delete GetRandom O(1) | 47% | Medium | |
0381 | * Insert Delete GetRandom O(1) - Duplicates allowed | 37% | Hard | |
0382 | * Linked List Random Node | 55% | Medium | |
0383 | * Ransom Note | 52% | Easy | |
0384 | * Shuffle an Array | 50% | Medium | |
0385 | * Mini Parser | 39% | Medium | |
0386 | * Lexicographical Numbers | 68% | Medium | |
0387 | * First Unique Character in a String | 44% | Easy | |
0388 | * Longest Absolute File Path | 44% | Medium | |
0389 | * Find the Difference | 61% | Easy | |
0390 | * Elimination Game | 42% | Medium | |
0391 | * Perfect Rectangle | 24% | Hard | |
0392 | * Is Subsequence | 48% | Easy | |
0393 | * UTF-8 Validation | 37% | Medium | |
0394 | * Decode String | 49% | Medium | |
0395 | * Longest Substring with At Least K Repeating Characters | 42% | Medium | |
0396 | * Rotate Function | 39% | Medium | |
0397 | * Integer Replacement | 34% | Medium | |
0398 | * Random Pick Index | 60% | Medium | |
0399 | * Evaluate Division | 53% | Medium | |
0400 | * Nth Digit | 36% | Medium | |
0401 | * Binary Watch | 51% | Easy | |
0402 | * Remove K Digits | 28% | Medium | |
0403 | * Frog Jump | 33% | Hard | |
0404 | * Sum of Left Leaves | 54% | Easy | |
0405 | * Convert a Number to Hexadecimal | 49% | Easy | |
0406 | * Queue Reconstruction by Height | 63% | Medium | |
0407 | * Trapping Rain Water II | 36% | Hard | |
0409 | * Longest Palindrome | 54% | Easy | |
0410 | * Split Array Largest Sum | 41% | Hard | |
0412 | * Fizz Buzz | 63% | Easy | |
0413 | * Arithmetic Slices | 60% | Medium | |
0414 | * Third Maximum Number | 34% | Easy | |
0415 | * Add Strings | 49% | Easy | |
0416 | * Partition Equal Subset Sum | 46% | Medium | |
0417 | * Pacific Atlantic Water Flow | 40% | Medium | |
0419 | * Battleships in a Board | 71% | Medium | |
0420 | * Strong Password Checker | 15% | Hard | |
0421 | * Maximum XOR of Two Numbers in an Array | 59% | Medium | |
0423 | * Reconstruct Original Digits from English | 52% | Medium | |
0424 | * Longest Repeating Character Replacement | 46% | Medium | |
0427 | * Construct Quad Tree | 57% | Medium | |
0429 | * N-ary Tree Level Order Traversal | 65% | Medium | |
0430 | * Flatten a Multilevel Doubly Linked List | 47% | Medium | |
0432 | * All O`one Data Structure | 34% | Hard | |
0433 | * Minimum Genetic Mutation | 48% | Medium | |
0434 | * Number of Segments in a String | 34% | Easy | |
0435 | * Non-overlapping Intervals | 45% | Medium | |
0436 | * Find Right Interval | 44% | Medium | |
0437 | * Path Sum III | 54% | Easy | |
0438 | * Find All Anagrams in a String | 42% | Medium | |
0440 | * K-th Smallest in Lexicographical Order | 32% | Hard | |
0441 | * Arranging Coins | 40% | Easy | |
0442 | * Find All Duplicates in an Array | 64% | Medium | |
0443 | * String Compression | 39% | Easy | |
0445 | * Add Two Numbers II | 54% | Medium | |
0446 | * Arithmetic Slices II - Subsequence | 32% | Hard | |
0447 | * Number of Boomerangs | 57% | Easy | |
0448 | * Find All Numbers Disappeared in an Array | 57% | Easy | |
0449 | * Serialize and Deserialize BST | 50% | Medium | |
0450 | * Delete Node in a BST | 39% | Medium | |
0451 | * Sort Characters By Frequency | 63% | Medium | |
0452 | * Minimum Number of Arrows to Burst Balloons | 49% | Medium | |
0453 | * Minimum Moves to Equal Array Elements | 53% | Easy | |
0454 | * 4Sum II | 54% | Medium | |
0455 | * Assign Cookies | 53% | Easy | |
0456 | * 132 Pattern | 26% | Medium | |
0457 | * Circular Array Loop | 33% | Medium | |
0458 | * Poor Pigs | 54% | Hard | |
0459 | * Repeated Substring Pattern | 46% | Easy | |
0460 | LFU Cache | 34% | Hard | |
0461 | * Hamming Distance | 75% | Easy | |
0462 | * Minimum Moves to Equal Array Elements II | 57% | Medium | |
0463 | * Island Perimeter | 65% | Easy | |
0464 | * Can I Win | 33% | Medium | |
0466 | * Count The Repetitions | 29% | Hard | |
0467 | * Unique Substrings in Wraparound String | 40% | Medium | |
0468 | * Validate IP Address | 21% | Medium | |
0470 | * Implement Rand10() Using Rand7() | 47% | Medium | |
0472 | * Concatenated Words | 43% | Hard | |
0473 | * Matchsticks to Square | 37% | Medium | |
0474 | * Ones and Zeroes | 51% | Medium | |
0475 | * Heaters | 29% | Easy | |
0476 | * Number Complement | 68% | Easy | |
0477 | * Total Hamming Distance | 49% | Medium | |
0478 | * Generate Random Point in a Circle | 39% | Medium | |
0479 | * Largest Palindrome Product | 32% | Hard | |
0480 | * Sliding Window Median | 34% | Hard | |
0481 | * Magical String | 49% | Medium | |
0482 | * License Key Formatting | 38% | Easy | |
0483 | * Smallest Good Base | 37% | Hard | |
0485 | * Max Consecutive Ones | 56% | Easy | |
0486 | * Predict the Winner | 51% | Medium | |
0488 | * Zuma Game | 40% | Hard | |
0491 | * Increasing Subsequences | 46% | Medium | |
0492 | * Construct the Rectangle | 51% | Easy | |
0493 | * Reverse Pairs | 23% | Hard | |
0494 | * Target Sum | 44% | Medium | |
0495 | * Teemo Attacking | 53% | Medium | |
0496 | * Next Greater Element I | 63% | Easy | |
0497 | * Random Point in Non-overlapping Rectangles | 37% | Medium | |
0498 | * Diagonal Traverse | 40% | Medium | |
0500 | * Keyboard Row | 68% | Easy | |
0501 | * Find Mode in Binary Search Tree | 44% | Easy | |
0502 | * IPO | 37% | Hard | |
0503 | * Next Greater Element II | 53% | Medium | |
0504 | * Base 7 | 48% | Easy | |
0506 | * Relative Ranks | 53% | Easy | |
0507 | * Perfect Number | 38% | Easy | |
0508 | * Most Frequent Subtree Sum | 62% | Medium | |
0509 | * Fibonacci Number | 66% | Easy | |
0513 | * Find Bottom Left Tree Value | 68% | Medium | |
0514 | * Freedom Trail | 38% | Hard | |
0515 | * Find Largest Value in Each Tree Row | 58% | Medium | |
0516 | * Longest Palindromic Subsequence | 52% | Medium | |
0517 | * Super Washing Machines | 40% | Hard | |
0518 | * Coin Change 2 | 49% | Medium | |
0519 | * Random Flip Matrix | 35% | Medium | |
0520 | * Detect Capital | 55% | Easy | |
0521 | * Longest Uncommon Subsequence I | 66% | Easy | |
0522 | * Longest Uncommon Subsequence II | 31% | Medium | |
0523 | * Continuous Subarray Sum | 22% | Medium | |
0524 | * Longest Word in Dictionary through Deleting | 45% | Medium | |
0525 | * Contiguous Array | 41% | Medium | |
0526 | * Beautiful Arrangement | 61% | Medium | |
0528 | * Random Pick with Weight | 41% | Medium | |
0529 | * Minesweeper | 59% | Medium | |
0530 | * Minimum Absolute Difference in BST | 56% | Easy | |
0532 | * K-diff Pairs in an Array | 34% | Easy | |
0535 | * Encode and Decode TinyURL | 81% | Medium | |
0537 | * Complex Number Multiplication | 68% | Medium | |
0538 | * Convert BST to Greater Tree | 59% | Easy | |
0539 | * Minimum Time Difference | 53% | Medium | |
0540 | * Single Element in a Sorted Array | 60% | Medium | |
0541 | * Reverse String II | 52% | Easy | |
0542 | * 01 Matrix | 38% | Medium | |
0543 | * Diameter of Binary Tree | 49% | Easy | |
0546 | * Remove Boxes | 49% | Hard | |
0547 | * Friend Circles | 55% | Medium | |
0551 | * Student Attendance Record I | 51% | Easy | |
0552 | * Student Attendance Record II | 39% | Hard | |
0553 | * Optimal Division | 54% | Medium | |
0554 | * Brick Wall | 35% | Medium | |
0556 | * Next Greater Element III | 30% | Medium | |
0557 | * Reverse Words in a String III | 70% | Easy | |
0558 | * Logical OR of Two Binary Grids Represented as Quad-Trees | 46% | Medium | |
0559 | * Maximum Depth of N-ary Tree | 68% | Easy | |
0560 | * Subarray Sum Equals K | 44% | Medium | |
0561 | * Array Partition I | 70% | Easy | |
0563 | * Binary Tree Tilt | 53% | Easy | |
0564 | * Find the Closest Palindrome | 14% | Hard | |
0565 | * Array Nesting | 56% | Medium | |
0566 | * Reshape the Matrix | 64% | Easy | |
0567 | * Permutation in String | 34% | Medium | |
0572 | * Subtree of Another Tree | 44% | Easy | |
0575 | * Distribute Candies | 66% | Easy | |
0576 | * Out of Boundary Paths | 36% | Medium | |
0581 | * Shortest Unsorted Continuous Subarray | 34% | Easy | |
0583 | * Delete Operation for Two Strings | 48% | Medium | |
0587 | * Erect the Fence | 29% | Hard | |
0589 | * N-ary Tree Preorder Traversal | 72% | Easy | |
0590 | * N-ary Tree Postorder Traversal | 72% | Easy | |
0591 | * Tag Validator | 29% | Hard | |
0592 | * Fraction Addition and Subtraction | 48% | Medium | |
0593 | * Valid Square | 42% | Medium | |
0594 | * Longest Harmonious Subsequence | 46% | Easy | |
0598 | * Range Addition II | 50% | Easy | |
0599 | * Minimum Index Sum of Two Lists | 50% | Easy | |
0600 | * Non-negative Integers without Consecutive Ones | 30% | Hard | |
0605 | * Can Place Flowers | 31% | Easy | |
0606 | * Construct String from Binary Tree | 52% | Easy | |
0609 | * Find Duplicate File in System | 48% | Medium | |
0611 | * Valid Triangle Number | 48% | Medium | |
0617 | * Merge Two Binary Trees | 75% | Easy | |
0621 | * Task Scheduler | 48% | Medium | |
0622 | * Design Circular Queue | 40% | Medium | |
0623 | * Add One Row to Tree | 50% | Medium | |
0628 | * Maximum Product of Three Numbers | 49% | Easy | |
0629 | * K Inverse Pairs Array | 36% | Hard | |
0630 | * Course Schedule III | 28% | Hard | |
0632 | * Smallest Range Covering Elements from K Lists | 35% | Hard | |
0633 | * Sum of Square Numbers | 33% | Easy | |
0636 | * Exclusive Time of Functions | 49% | Medium | |
0637 | * Average of Levels in Binary Tree | 63% | Easy | |
0638 | * Shopping Offers | 56% | Medium | |
0639 | * Decode Ways II | 26% | Hard | |
0640 | Solve the Equation | 40% | Medium | |
0641 | * Design Circular Deque | 51% | Medium | |
0643 | Maximum Average Subarray I | 38% | Easy | |
0645 | Set Mismatch | 41% | Easy | |
0646 | Maximum Length of Pair Chain | 53% | Medium | |
0647 | Palindromic Substrings | 61% | Medium | |
0648 | Replace Words | 53% | Medium | |
0649 | * Dota2 Senate | 37% | Medium | |
0650 | * 2 Keys Keyboard | 48% | Medium | |
0652 | * Find Duplicate Subtrees | 52% | Medium | |
0653 | * Two Sum IV - Input is a BST | 54% | Easy | |
0654 | * Maximum Binary Tree | 80% | Medium | |
0655 | * Print Binary Tree | 55% | Medium | |
0657 | * Robot Return to Origin | 73% | Easy | |
0658 | * Find K Closest Elements | 43% | Medium | |
0659 | * Split Array into Consecutive Subsequences | 40% | Medium | |
0661 | * Image Smoother | 52% | Easy | |
0662 | * Maximum Width of Binary Tree | 36% | Medium | |
0664 | * Strange Printer | 43% | Hard | |
0665 | * Non-decreasing Array | 22% | Easy | |
0667 | * Beautiful Arrangement II | 59% | Medium | |
0668 | * Kth Smallest Number in Multiplication Table | 46% | Hard | |
0669 | * Trim a Binary Search Tree | 64% | Easy | |
0670 | * Maximum Swap | 40% | Medium | |
0671 | * Second Minimum Node In a Binary Tree | 45% | Easy | |
0672 | * Bulb Switcher II | 53% | Medium | |
0673 | * Number of Longest Increasing Subsequence | 34% | Medium | |
0674 | * Longest Continuous Increasing Subsequence | 44% | Easy | |
0675 | * Cut Off Trees for Golf Event | 34% | Hard | |
0676 | * Implement Magic Dictionary | 56% | Medium | |
0677 | * Map Sum Pairs | 60% | Medium | |
0678 | * Valid Parenthesis String | 30% | Medium | |
0679 | * 24 Game | 42% | Hard | |
0680 | * Valid Palindrome II | 36% | Easy | |
0682 | * Baseball Game | 66% | Easy | |
0684 | * Redundant Connection | 57% | Medium | |
0685 | * Redundant Connection II | 33% | Hard | |
0686 | * Repeated String Match | 33% | Easy | |
0687 | * Longest Univalue Path | 39% | Easy | |
0688 | * Knight Probability in Chessboard | 46% | Medium | |
0689 | * Maximum Sum of 3 Non-Overlapping Subarrays | 44% | Hard | |
0690 | * Employee Importance | 57% | Easy | |
0691 | * Stickers to Spell Word | 44% | Hard | |
0692 | * Top K Frequent Words | 50% | Medium | |
0693 | * Binary Number with Alternating Bits | 60% | Easy | |
0695 | * Max Area of Island | 63% | Medium | |
0696 | * Count Binary Substrings | 51% | Easy | |
0697 | * Degree of an Array | 52% | Easy | |
0698 | * Partition to K Equal Sum Subsets | 40% | Medium | |
0699 | * Falling Squares | 39% | Hard | |
0700 | * Search in a Binary Search Tree | 72% | Easy | |
0701 | * Insert into a Binary Search Tree | 73% | Medium | |
0703 | * Kth Largest Element in a Stream | 42% | Easy | |
0704 | * Binary Search | 53% | Easy | |
0705 | * Design HashSet | 55% | Easy | |
0706 | * Design HashMap | 56% | Easy | |
0707 | * Design Linked List | 25% | Medium | |
0709 | * To Lower Case | 75% | Easy | |
0710 | * Random Pick with Blacklist | 29% | Hard | |
0712 | * Minimum ASCII Delete Sum for Two Strings | 62% | Medium | |
0713 | * Subarray Product Less Than K | 35% | Medium | |
0714 | * Best Time to Buy and Sell Stock with Transaction Fee | 63% | Medium | |
0715 | * Range Module | 33% | Hard | |
0717 | * 1-bit and 2-bit Characters | 47% | Easy | |
0718 | * Maximum Length of Repeated Subarray | 49% | Medium | |
0719 | * Find K-th Smallest Pair Distance | 31% | Hard | |
0720 | * Longest Word in Dictionary | 46% | Easy | |
0721 | * Accounts Merge | 32% | Medium | |
0722 | * Remove Comments | 27% | Medium | |
0724 | * Find Pivot Index | 36% | Easy | |
0725 | * Split Linked List in Parts | 53% | Medium | |
0726 | * Number of Atoms | 43% | Hard | |
0728 | * Self Dividing Numbers | 72% | Easy | |
0729 | * My Calendar I | 46% | Medium | |
0730 | * Count Different Palindromic Subsequences | 47% | Hard | |
0731 | * My Calendar II | 45% | Medium | |
0732 | * My Calendar III | 56% | Hard | |
0733 | * Flood Fill | 53% | Easy | |
0735 | * Asteroid Collision | 37% | Medium | |
0736 | * Parse Lisp Expression | 39% | Hard | |
0738 | * Monotone Increasing Digits | 42% | Medium | |
0739 | * Daily Temperatures | 59% | Medium | |
0740 | * Delete and Earn | 51% | Medium | |
0741 | * Cherry Pickup | 30% | Hard | |
0743 | * Network Delay Time | 45% | Medium | |
0744 | * Find Smallest Letter Greater Than Target | 44% | Easy | |
0745 | * Prefix and Suffix Search | 32% | Hard | |
0746 | * Min Cost Climbing Stairs | 47% | Easy | |
0747 | * Largest Number At Least Twice of Others | 39% | Easy | |
0748 | * Shortest Completing Word | 57% | Easy | |
0749 | * Contain Virus | 46% | Hard | |
0752 | * Open the Lock | 48% | Medium | |
0753 | * Cracking the Safe | 52% | Hard | |
0754 | * Reach a Number | 39% | Medium | |
0756 | * Pyramid Transition Matrix | 53% | Medium | |
0757 | * Set Intersection Size At Least Two | 34% | Hard | |
0761 | * Special Binary String | 54% | Hard | |
0762 | * Prime Number of Set Bits in Binary Representation | 67% | Easy | |
0763 | * Partition Labels | 70% | Medium | |
0764 | * Largest Plus Sign | 47% | Medium | |
0765 | * Couples Holding Hands | 56% | Hard | |
0766 | * Toeplitz Matrix | 64% | Easy | |
0767 | * Reorganize String | 39% | Medium | |
0768 | * Max Chunks To Make Sorted II | 46% | Hard | |
0769 | * Max Chunks To Make Sorted | 54% | Medium | |
0770 | * Basic Calculator IV | 45% | Hard | |
0771 | * Jewels and Stones | 82% | Easy | |
0773 | * Sliding Puzzle | 58% | Hard | |
0775 | * Global and Local Inversions | 42% | Medium | |
0777 | * Swap Adjacent in LR String | 32% | Medium | |
0778 | * Swim in Rising Water | 45% | Hard | |
0779 | * K-th Symbol in Grammar | 43% | Medium | |
0780 | * Reaching Points | 27% | Hard | |
0781 | * Rabbits in Forest | 54% | Medium | |
0782 | * Transform to Chessboard | 41% | Hard | |
0783 | * Minimum Distance Between BST Nodes | 52% | Easy | |
0784 | * Letter Case Permutation | 63% | Easy | |
0785 | * Is Graph Bipartite? | 44% | Medium | |
0786 | * K-th Smallest Prime Fraction | 37% | Hard | |
0787 | * Cheapest Flights Within K Stops | 34% | Medium | |
0788 | * Rotated Digits | 59% | Easy | |
0789 | * Escape The Ghosts | 58% | Medium | |
0790 | * Domino and Tromino Tiling | 40% | Medium | |
0791 | * Custom Sort String | 66% | Medium | |
0792 | * Number of Matching Subsequences | 42% | Medium | |
0793 | * Preimage Size of Factorial Zeroes Function | 33% | Hard | |
0794 | * Valid Tic-Tac-Toe State | 32% | Medium | |
0795 | * Number of Subarrays with Bounded Maximum | 49% | Medium | |
0796 | * Rotate String | 49% | Easy | |
0797 | * All Paths From Source to Target | 75% | Medium | |
0798 | * Smallest Rotation with Highest Score | 37% | Hard | |
0799 | * Champagne Tower | 35% | Medium | |
0801 | * Minimum Swaps To Make Sequences Increasing | 38% | Medium | |
0802 | * Find Eventual Safe States | 46% | Medium | |
0803 | * Bricks Falling When Hit | 24% | Hard | |
0804 | * Unique Morse Code Words | 74% | Easy | |
0805 | * Split Array With Same Average | 25% | Hard | |
0806 | * Number of Lines To Write String | 64% | Easy | |
0807 | * Max Increase to Keep City Skyline | 80% | Medium | |
0808 | * Soup Servings | 44% | Medium | |
0809 | * Expressive Words | 40% | Medium | |
0810 | * Chalkboard XOR Game | 52% | Hard | |
0811 | * Subdomain Visit Count | 67% | Easy | |
0812 | * Largest Triangle Area | 60% | Easy | |
0813 | * Largest Sum of Averages | 48% | Medium | |
0814 | * Binary Tree Pruning | 73% | Medium | |
0815 | * Bus Routes | 30% | Hard | |
0816 | * Ambiguous Coordinates | 49% | Medium | |
0817 | * Linked List Components | 56% | Medium | |
0818 | * Race Car | 32% | Hard | |
0819 | * Most Common Word | 39% | Easy | |
0820 | * Short Encoding of Words | 48% | Medium | |
0821 | * Shortest Distance to a Character | 66% | Easy | |
0822 | * Card Flipping Game | 46% | Medium | |
0823 | * Binary Trees With Factors | 39% | Medium | |
0824 | * Goat Latin | 58% | Easy | |
0825 | * Friends Of Appropriate Ages | 33% | Medium | |
0826 | * Most Profit Assigning Work | 35% | Medium | |
0827 | * Making A Large Island | 39% | Hard | |
0828 | * Count Unique Characters of All Substrings of a Given String | 38% | Hard | |
0829 | * Consecutive Numbers Sum | 31% | Hard | |
0830 | * Positions of Large Groups | 46% | Easy | |
0831 | * Masking Personal Information | 37% | Medium | |
0832 | * Flipping an Image | 74% | Easy | |
0833 | * Find And Replace in String | 38% | Medium | |
0834 | * Sum of Distances in Tree | 30% | Hard | |
0835 | * Image Overlap | 57% | Medium | |
0836 | * Rectangle Overlap | 49% | Easy | |
0837 | * New 21 Game | 26% | Medium | |
0838 | * Push Dominoes | 44% | Medium | |
0839 | * Similar String Groups | 31% | Hard | |
0840 | * Magic Squares In Grid | 33% | Easy | |
0841 | * Keys and Rooms | 60% | Medium | |
0842 | * Split Array into Fibonacci Sequence | 36% | Medium | |
0843 | * Guess the Word | 32% | Hard | |
0844 | * Backspace String Compare | 50% | Easy | |
0845 | * Longest Mountain in Array | 34% | Medium | |
0846 | * Hand of Straights | 47% | Medium | |
0847 | * Shortest Path Visiting All Nodes | 51% | Hard | |
0848 | * Shifting Letters | 39% | Medium | |
0849 | * Maximize Distance to Closest Person | 39% | Easy | |
0850 | * Rectangle Area II | 39% | Hard | |
0851 | * Loud and Rich | 43% | Medium | |
0852 | * Peak Index in a Mountain Array | 69% | Easy | |
0853 | * Car Fleet | 35% | Medium | |
0854 | * K-Similar Strings | 29% | Hard | |
0855 | * Exam Room | 32% | Medium | |
0856 | * Score of Parentheses | 58% | Medium | |
0857 | * Minimum Cost to Hire K Workers | 41% | Hard | |
0858 | * Mirror Reflection | 52% | Medium | |
0859 | * Buddy Strings | 28% | Easy | |
0860 | * Lemonade Change | 54% | Easy | |
0861 | * Score After Flipping Matrix | 73% | Medium | |
0862 | * Shortest Subarray with Sum at Least K | 14% | Hard | |
0863 | * All Nodes Distance K in Binary Tree | 47% | Medium | |
0864 | * Shortest Path to Get All Keys | 41% | Hard | |
0865 | * Smallest Subtree with all the Deepest Nodes | 53% | Medium | |
0866 | * Prime Palindrome | 19% | Medium | |
0867 | * Transpose Matrix | 67% | Easy | |
0868 | * Binary Gap | 60% | Easy | |
0869 | * Reordered Power of 2 | 49% | Medium | |
0870 | * Advantage Shuffle | 37% | Medium | |
0871 | * Minimum Number of Refueling Stops | 29% | Hard | |
0872 | * Leaf-Similar Trees | 62% | Easy | |
0873 | * Length of Longest Fibonacci Subsequence | 45% | Medium | |
0874 | * Walking Robot Simulation | 33% | Easy | |
0875 | * Koko Eating Bananas | 40% | Medium | |
0876 | * Middle of the Linked List | 68% | Easy | |
0877 | * Stone Game | 68% | Medium | |
0878 | * Nth Magical Number | 22% | Hard | |
0879 | * Profitable Schemes | 32% | Hard | |
0880 | * Decoded String at Index | 22% | Medium | |
0881 | * Boats to Save People | 41% | Medium | |
0882 | * Reachable Nodes In Subdivided Graph | 39% | Hard | |
0883 | * Projection Area of 3D Shapes | 64% | Easy | |
0884 | * Uncommon Words from Two Sentences | 61% | Easy | |
0885 | * Spiral Matrix III | 65% | Medium | |
0886 | * Possible Bipartition | 35% | Medium | |
0887 | * Super Egg Drop | 21% | Hard | |
0888 | * Fair Candy Swap | 52% | Easy | |
0889 | * Construct Binary Tree from Preorder and Postorder Traversal | 63% | Medium | |
0890 | * Find and Replace Pattern | 69% | Medium | |
0891 | * Sum of Subsequence Widths | 27% | Hard | |
0892 | * Surface Area of 3D Shapes | 64% | Easy | |
0893 | * Groups of Special-Equivalent Strings | 67% | Easy | |
0894 | * All Possible Full Binary Trees | 73% | Medium | |
0895 | * Maximum Frequency Stack | 45% | Hard | |
0896 | * Monotonic Array | 51% | Easy | |
0897 | * Increasing Order Search Tree | 66% | Easy | |
0898 | * Bitwise ORs of Subarrays | 27% | Medium | |
0899 | * Orderly Queue | 49% | Hard | |
0900 | * RLE Iterator | 43% | Medium | |
0901 | * Online Stock Span | 41% | Medium | |
0902 | * Numbers At Most N Given Digit Set | 28% | Hard | |
0903 | * Valid Permutations for DI Sequence | 47% | Hard | |
0904 | * Fruit Into Baskets | 39% | Medium | |
0905 | * Sort Array By Parity | 68% | Easy | |
0906 | * Super Palindromes | 22% | Hard | |
0907 | * Sum of Subarray Minimums | 28% | Medium | |
0908 | * Smallest Range I | 67% | Easy | |
0909 | * Snakes and Ladders | 30% | Medium | |
0910 | * Smallest Range II | 26% | Medium | |
0911 | * Online Election | 38% | Medium | |
0912 | * Sort an Array | 59% | Medium | |
0913 | * Cat and Mouse | 31% | Hard | |
0914 | * X of a Kind in a Deck of Cards | 39% | Easy | |
0915 | * Partition Array into Disjoint Intervals | 42% | Medium | |
0916 | * Word Subsets | 39% | Medium | |
0917 | * Reverse Only Letters | 53% | Easy | |
0918 | * Maximum Sum Circular Subarray | 31% | Medium | |
0919 | * Complete Binary Tree Inserter | 59% | Medium | |
0920 | * Number of Music Playlists | 43% | Hard | |
0921 | * Minimum Add to Make Parentheses Valid | 70% | Medium | |
0922 | * Sort Array By Parity II | 67% | Easy | |
0923 | * 3Sum With Multiplicity | 30% | Medium | |
0924 | * Minimize Malware Spread | 39% | Hard | |
0925 | * Long Pressed Name | 45% | Easy | |
0926 | * Flip String to Monotone Increasing | 45% | Medium | |
0927 | * Three Equal Parts | 30% | Hard | |
0928 | * Minimize Malware Spread II | 39% | Hard | |
0929 | * Unique Email Addresses | 63% | Easy | |
0930 | * Binary Subarrays With Sum | 35% | Medium | |
0931 | * Minimum Falling Path Sum | 60% | Medium | |
0932 | * Beautiful Array | 58% | Medium | |
0933 | * Number of Recent Calls | 70% | Easy | |
0934 | * Shortest Bridge | 43% | Medium | |
0935 | * Knight Dialer | 42% | Medium | |
0936 | * Stamping The Sequence | 32% | Hard | |
0937 | * Reorder Data in Log Files | 52% | Easy | |
0938 | * Range Sum of BST | 76% | Easy | |
0939 | * Minimum Area Rectangle | 41% | Medium | |
0940 | * Distinct Subsequences II | 41% | Hard | |
0941 | * Valid Mountain Array | 35% | Easy | |
0942 | * DI String Match | 71% | Easy | |
0943 | * Find the Shortest Superstring | 38% | Hard | |
0944 | * Delete Columns to Make Sorted | 68% | Easy | |
0945 | * Minimum Increment to Make Array Unique | 47% | Medium | |
0946 | * Validate Stack Sequences | 55% | Medium | |
0947 | * Most Stones Removed with Same Row or Column | 48% | Medium | |
0948 | * Bag of Tokens | 36% | Medium | |
0949 | * Largest Time for Given Digits | 35% | Easy | |
0950 | * Reveal Cards In Increasing Order | 75% | Medium | |
0951 | * Flip Equivalent Binary Trees | 62% | Medium | |
0952 | * Largest Component Size by Common Factor | 29% | Hard | |
0953 | * Verifying an Alien Dictionary | 57% | Easy | |
0954 | * Array of Doubled Pairs | 27% | Medium | |
0955 | * Delete Columns to Make Sorted II | 28% | Medium | |
0956 | * Tallest Billboard | 37% | Hard | |
0957 | * Prison Cells After N Days | 33% | Medium | |
0958 | * Check Completeness of a Binary Tree | 46% | Medium | |
0959 | * Regions Cut By Slashes | 65% | Medium | |
0960 | * Delete Columns to Make Sorted III | 53% | Hard | |
0961 | * N-Repeated Element in Size 2N Array | 66% | Easy | |
0962 | * Maximum Width Ramp | 37% | Medium | |
0963 | * Minimum Area Rectangle II | 49% | Medium | |
0964 | * Least Operators to Express Number | 36% | Hard | |
0965 | * Univalued Binary Tree | 67% | Easy | |
0966 | * Vowel Spellchecker | 38% | Medium | |
0967 | * Numbers With Same Consecutive Differences | 35% | Medium | |
0968 | * Binary Tree Cameras | 35% | Hard | |
0969 | * Pancake Sorting | 63% | Medium | |
0970 | * Powerful Integers | 39% | Easy | |
0971 | * Flip Binary Tree To Match Preorder Traversal | 43% | Medium | |
0972 | * Equal Rational Numbers | 41% | Hard | |
0973 | * K Closest Points to Origin | 58% | Medium | |
0974 | * Subarray Sums Divisible by K | 37% | Medium | |
0975 | * Odd Even Jump | 40% | Hard | |
0976 | * Largest Perimeter Triangle | 54% | Easy | |
0977 | * Squares of a Sorted Array | 71% | Easy | |
0978 | * Longest Turbulent Subarray | 39% | Medium | |
0979 | * Distribute Coins in Binary Tree | 65% | Medium | |
0980 | * Unique Paths III | 70% | Hard | |
0981 | * Time Based Key-Value Store | 36% | Medium | |
0982 | * Triples with Bitwise AND Equal To Zero | 49% | Hard | |
0983 | * Minimum Cost For Tickets | 56% | Medium | |
0984 | * String Without AAA or BBB | 36% | Medium | |
0985 | * Sum of Even Numbers After Queries | 59% | Easy | |
0986 | * Interval List Intersections | 61% | Medium | |
0987 | * Vertical Order Traversal of a Binary Tree | 38% | Medium | |
0988 | * Smallest String Starting From Leaf | 44% | Medium | |
0989 | * Add to Array-Form of Integer | 43% | Easy | |
0990 | * Satisfiability of Equality Equations | 41% | Medium | |
0991 | * Broken Calculator | 50% | Medium | |
0992 | * Subarrays with K Different Integers | 26% | Hard | |
0993 | * Cousins in Binary Tree | 51% | Easy | |
0994 | * Rotting Oranges | 50% | Easy | |
0995 | * Minimum Number of K Consecutive Bit Flips | 40% | Hard | |
0996 | * Number of Squareful Arrays | 44% | Hard | |
0997 | * Find the Town Judge | 50% | Easy | |
0998 | * Maximum Binary Tree II | 59% | Medium | |
0999 | * Available Captures for Rook | 69% | Easy | |
1000 | * Minimum Cost to Merge Stones | 31% | Hard | |
1001 | * Grid Illumination | 26% | Hard | |
1002 | * Find Common Characters | 66% | Easy | |
1003 | * Check If Word Is Valid After Substitutions | 56% | Medium | |
1004 | * Max Consecutive Ones III | 49% | Medium | |
1005 | * Maximize Sum Of Array After K Negations | 51% | Easy | |
1006 | * Clumsy Factorial | 50% | Medium | |
1007 | * Minimum Domino Rotations For Equal Row | 44% | Medium | |
1008 | * Construct Binary Search Tree from Preorder Traversal | 71% | Medium | |
1009 | * Complement of Base 10 Integer | 59% | Easy | |
1010 | * Pairs of Songs With Total Durations Divisible by 60 | 43% | Easy | |
1011 | * Capacity To Ship Packages Within D Days | 51% | Medium | |
1012 | * Numbers With Repeated Digits | 27% | Hard | |
1013 | * Partition Array Into Three Parts With Equal Sum | 40% | Easy | |
1014 | * Best Sightseeing Pair | 47% | Medium | |
1015 | * Smallest Integer Divisible by K | 29% | Medium | |
1016 | * Binary String With Substrings Representing 1 To N | 56% | Medium | |
1017 | * Convert to Base -2 | 51% | Medium | |
1018 | * Binary Prefix Divisible By 5 | 45% | Easy | |
1019 | * Next Greater Node In Linked List | 52% | Medium | |
1020 | * Number of Enclaves | 50% | Medium | |
1021 | * Remove Outermost Parentheses | 76% | Easy | |
1022 | * Sum of Root To Leaf Binary Numbers | 59% | Easy | |
1023 | * Camelcase Matching | 53% | Medium | |
1024 | * Video Stitching | 46% | Medium | |
1025 | * Divisor Game | 68% | Easy | |
1026 | * Maximum Difference Between Node and Ancestor | 58% | Medium | |
1027 | * Longest Arithmetic Sequence | 41% | Medium | |
1028 | * Recover a Tree From Preorder Traversal | 61% | Hard | |
1029 | * Two City Scheduling | 59% | Easy | |
1030 | * Matrix Cells in Distance Order | 62% | Easy | |
1031 | * Maximum Sum of Two Non-Overlapping Subarrays | 50% | Medium | |
1032 | * Stream of Characters | 31% | Hard | |
1033 | * Moving Stones Until Consecutive | 37% | Easy | |
1034 | * Coloring A Border | 41% | Medium | |
1035 | * Uncrossed Lines | 50% | Medium | |
1036 | * Escape a Large Maze | 26% | Hard | |
1037 | * Valid Boomerang | 41% | Easy | |
1038 | * Binary Search Tree to Greater Sum Tree | 73% | Medium | |
1039 | * Minimum Score Triangulation of Polygon | 47% | Medium | |
1040 | * Moving Stones Until Consecutive II | 46% | Medium | |
1041 | * Robot Bounded In Circle | 43% | Medium | |
1042 | * Flower Planting With No Adjacent | 48% | Easy | |
1043 | * Partition Array for Maximum Sum | 64% | Medium | |
1044 | * Longest Duplicate Substring | 17% | Hard | |
1046 | * Last Stone Weight | 59% | Easy | |
1047 | * Remove All Adjacent Duplicates In String | 67% | Easy | |
1048 | * Longest String Chain | 40% | Medium | |
1049 | * Last Stone Weight II | 42% | Medium | |
1051 | * Height Checker | 73% | Easy | |
1052 | * Grumpy Bookstore Owner | 48% | Medium | |
1053 | * Previous Permutation With One Swap | 42% | Medium | |
1054 | * Distant Barcodes | 32% | Medium | |
1071 | * Greatest Common Divisor of Strings | 58% | Easy | |
1072 | * Flip Columns For Maximum Number of Equal Rows | 49% | Medium | |
1073 | * Adding Two Negabinary Numbers | 30% | Medium | |
1074 | * Number of Submatrices That Sum to Target | 44% | Hard | |
1078 | * Occurrences After Bigram | 60% | Easy | |
1079 | * Letter Tile Possibilities | 72% | Medium | |
1080 | * Insufficient Nodes in Root to Leaf Paths | 44% | Medium | |
1081 | * Smallest Subsequence of Distinct Characters | 45% | Medium | |
1089 | * Duplicate Zeros | 57% | Easy | |
1090 | * Largest Values From Labels | 48% | Medium | |
1091 | * Shortest Path in Binary Matrix | 30% | Medium | |
1092 | * Shortest Common Supersequence | 40% | Hard | |
1093 | * Statistics from a Large Sample | 40% | Medium | |
1094 | * Car Pooling | 54% | Medium | |
1095 | * Find in Mountain Array | 30% | Hard | |
1096 | * Brace Expansion II | 49% | Hard | |
1103 | * Distribute Candies to People | 62% | Easy | |
1104 | * Path In Zigzag Labelled Binary Tree | 67% | Medium | |
1105 | * Filling Bookcase Shelves | 49% | Medium | |
1106 | * Parsing A Boolean Expression | 54% | Hard | |
1108 | * Defanging an IP Address | 81% | Easy | |
1109 | * Corporate Flight Bookings | 42% | Medium | |
1110 | * Delete Nodes And Return Forest | 57% | Medium | |
1111 | * Maximum Nesting Depth of Two Valid Parentheses Strings | 77% | Medium | |
1122 | * Relative Sort Array | 65% | Easy | |
1123 | * Lowest Common Ancestor of Deepest Leaves | 64% | Medium | |
1124 | * Longest Well-Performing Interval | 25% | Medium | |
1125 | * Smallest Sufficient Team | 41% | Hard | |
1128 | * Number of Equivalent Domino Pairs | 43% | Easy | |
1129 | * Shortest Path with Alternating Colors | 33% | Medium | |
1130 | * Minimum Cost Tree From Leaf Values | 57% | Medium | |
1131 | * Maximum of Absolute Value Expression | 39% | Medium | |
1137 | * N-th Tribonacci Number | 52% | Easy | |
1138 | * Alphabet Board Path | 39% | Medium | |
1139 | * Largest 1-Bordered Square | 42% | Medium | |
1140 | * Stone Game II | 58% | Medium | |
1143 | * Longest Common Subsequence | 58% | Medium | |
1144 | * Decrease Elements To Make Array Zigzag | 41% | Medium | |
1145 | * Binary Tree Coloring Game | 40% | Medium | |
1146 | * Snapshot Array | 23% | Medium | |
1147 | * Longest Chunked Palindrome Decomposition | 51% | Hard | |
1154 | * Day of the Year | 53% | Easy | |
1155 | * Number of Dice Rolls With Target Sum | 42% | Medium | |
1156 | * Swap For Longest Repeated Character Substring | 42% | Medium | |
1157 | * Online Majority Element In Subarray | 25% | Hard | |
1160 | * Find Words That Can Be Formed by Characters | 69% | Easy | |
1161 | * Maximum Level Sum of a Binary Tree | 67% | Medium | |
1162 | * As Far from Land as Possible | 47% | Medium | |
1163 | * Last Substring in Lexicographical Order | 22% | Hard | |
1169 | * Invalid Transactions | 29% | Medium | |
1170 | * Compare Strings by Frequency of the Smallest Character | 60% | Easy | |
1171 | * Remove Zero Sum Consecutive Nodes from Linked List | 39% | Medium | |
1172 | * Dinner Plate Stacks | 21% | Hard | |
1175 | * Prime Arrangements | 46% | Easy | |
1177 | * Can Make Palindrome from Substring | 20% | Medium | |
1178 | * Number of Valid Words for Each Puzzle | 27% | Hard | |
1184 | * Distance Between Bus Stops | 56% | Easy | |
1185 | * Day of the Week | 58% | Easy | |
1186 | * Maximum Subarray Sum with One Deletion | 31% | Medium | |
1187 | * Make Array Strictly Increasing | 39% | Hard | |
1189 | * Maximum Number of Balloons | 63% | Easy | |
1190 | * Reverse Substrings Between Each Pair of Parentheses | 53% | Medium | |
1191 | * K-Concatenation Maximum Sum | 24% | Medium | |
1192 | * Critical Connections in a Network | 37% | Hard | |
1200 | * Minimum Absolute Difference | 65% | Easy | |
1201 | * Ugly Number III | 20% | Medium | |
1202 | * Smallest String With Swaps | 30% | Medium | |
1203 | * Sort Items by Groups Respecting Dependencies | 37% | Hard | |
1206 | * Design Skiplist | 55% | Hard | |
1207 | * Unique Number of Occurrences | 68% | Easy | |
1208 | * Get Equal Substrings Within Budget | 33% | Medium | |
1209 | * Remove All Adjacent Duplicates in String II | 52% | Medium | |
1210 | * Minimum Moves to Reach Target with Rotations | 41% | Hard | |
1217 | * Play with Chips | 67% | Easy | |
1218 | * Longest Arithmetic Subsequence of Given Difference | 36% | Medium | |
1219 | * Path with Maximum Gold | 60% | Medium | |
1220 | * Count Vowels Permutation | 52% | Hard | |
1221 | * Split a String in Balanced Strings | 77% | Easy | |
1222 | * Queens That Can Attack the King | 64% | Medium | |
1223 | * Dice Roll Simulation | 43% | Medium | |
1224 | * Maximum Equal Frequency | 28% | Hard | |
1227 | * Airplane Seat Assignment Probability | 64% | Medium | |
1232 | * Check If It Is a Straight Line | 50% | Easy | |
1233 | * Remove Sub-Folders from the Filesystem | 43% | Medium | |
1234 | * Replace the Substring for Balanced String | 28% | Medium | |
1235 | * Maximum Profit in Job Scheduling | 42% | Hard | |
1237 | * Find Positive Integer Solution for a Given Equation | 68% | Easy | |
1238 | * Circular Permutation in Binary Representation | 60% | Medium | |
1239 | * Maximum Length of a Concatenated String with Unique Characters | 38% | Medium | |
1240 | * Tiling a Rectangle with the Fewest Squares | 45% | Hard | |
1247 | * Minimum Swaps to Make Strings Equal | 55% | Medium | |
1248 | * Count Number of Nice Subarrays | 47% | Medium | |
1249 | * Minimum Remove to Make Valid Parentheses | 54% | Medium | |
1250 | * Check If It Is a Good Array | 51% | Hard | |
1252 | * Cells with Odd Values in a Matrix | 75% | Easy | |
1253 | * Reconstruct a 2-Row Binary Matrix | 36% | Medium | |
1254 | * Number of Closed Islands | 59% | Medium | |
1255 | * Maximum Score Words Formed by Letters | 63% | Hard | |
1260 | * Shift 2D Grid | 59% | Easy | |
1261 | * Find Elements in a Contaminated Binary Tree | 70% | Medium | |
1262 | * Greatest Sum Divisible by Three | 45% | Medium | |
1263 | * Minimum Moves to Move a Box to Their Target Location | 42% | Hard | |
1266 | * Minimum Time Visiting All Points | 80% | Easy | |
1267 | * Count Servers that Communicate | 59% | Medium | |
1268 | * Search Suggestions System | 52% | Medium | |
1269 | * Number of Ways to Stay in the Same Place After Some Steps | 37% | Hard | |
1275 | * Find Winner on a Tic Tac Toe Game | 52% | Easy | |
1276 | * Number of Burgers with No Waste of Ingredients | 49% | Medium | |
1277 | * Count Square Submatrices with All Ones | 66% | Medium | |
1278 | * Palindrome Partitioning III | 55% | Hard | |
1281 | * Subtract the Product and Sum of Digits of an Integer | 82% | Easy | |
1282 | * Group the People Given the Group Size They Belong To | 79% | Medium | |
1283 | * Find the Smallest Divisor Given a Threshold | 33% | Medium | |
1284 | * Minimum Number of Flips to Convert Binary Matrix to Zero Matrix | 63% | Hard | |
1286 | * Iterator for Combination | 57% | Medium | |
1287 | * Element Appearing More Than 25% In Sorted Array | 60% | Easy | |
1288 | * Remove Covered Intervals | 56% | Medium | |
1289 | * Minimum Falling Path Sum II | 59% | Hard | |
1290 | * Convert Binary Number in a Linked List to Integer | 81% | Easy | |
1291 | * Sequential Digits | 47% | Medium | |
1292 | * Maximum Side Length of a Square with Sum Less than or Equal to Threshold | 41% | Medium | |
1293 | * Shortest Path in a Grid with Obstacles Elimination | 35% | Hard | |
1295 | * Find Numbers with Even Number of Digits | 82% | Easy | |
1296 | * Divide Array in Sets of K Consecutive Numbers | 41% | Medium | |
1297 | * Maximum Number of Occurrences of a Substring | 42% | Medium | |
1298 | * Maximum Candies You Can Get from Boxes | 57% | Hard | |
1299 | * Replace Elements with Greatest Element on Right Side | 75% | Easy | |
1300 | * Sum of Mutated Array Closest to Target | 43% | Medium | |
1301 | * Number of Paths with Max Score | 32% | Hard | |
1302 | * Deepest Leaves Sum | 80% | Medium | |
1304 | * Find N Unique Integers Sum up to Zero | 74% | Easy | |
1305 | * All Elements in Two Binary Search Trees | 73% | Medium | |
1306 | * Jump Game III | 57% | Medium | |
1307 | * Verbal Arithmetic Puzzle | 33% | Hard | |
1309 | * Decrypt String from Alphabet to Integer Mapping | 73% | Easy | |
1310 | * XOR Queries of a Subarray | 62% | Medium | |
1311 | * Get Watched Videos by Your Friends | 35% | Medium | |
1312 | * Minimum Insertion Steps to Make a String Palindrome | 56% | Hard | |
1313 | * Decompress Run-Length Encoded List | 81% | Easy | |
1314 | * Matrix Block Sum | 72% | Medium | |
1315 | * Sum of Nodes with Even-Valued Grandparent | 79% | Medium | |
1316 | * Distinct Echo Substrings | 40% | Hard | |
1317 | * Convert Integer to the Sum of Two No-Zero Integers | 61% | Easy | |
1318 | * Minimum Flips to Make a OR b Equal to c | 59% | Medium | |
1319 | * Number of Operations to Make Network Connected | 46% | Medium | |
1320 | * Minimum Distance to Type a Word Using Two Fingers | 55% | Hard | |
1323 | * Maximum 69 Number | 75% | Easy | |
1324 | * Print Words Vertically | 57% | Medium | |
1325 | * Delete Leaves With a Given Value | 68% | Medium | |
1326 | * Minimum Number of Taps to Open to Water a Garden | 44% | Hard | |
1328 | * Break a Palindrome | 43% | Medium | |
1329 | * Sort the Matrix Diagonally | 74% | Medium | |
1330 | * Reverse Subarray To Maximize Array Value | 35% | Hard | |
1331 | * Rank Transform of an Array | 52% | Easy | |
1332 | * Remove Palindromic Subsequences | 61% | Easy | |
1333 | * Filter Restaurants by Vegan-Friendly, Price and Distance | 47% | Medium | |
1334 | * Find the City With the Smallest Number of Neighbors at a Threshold Distance | 45% | Medium | |
1335 | * Minimum Difficulty of a Job Schedule | 58% | Hard | |
1337 | * The K Weakest Rows in a Matrix | 63% | Easy | |
1338 | * Reduce Array Size to The Half | 61% | Medium | |
1339 | * Maximum Product of Splitted Binary Tree | 36% | Medium | |
1340 | * Jump Game V | 49% | Hard | |
1342 | * Number of Steps to Reduce a Number to Zero | 82% | Easy | |
1343 | * Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold | 56% | Medium | |
1344 | * Angle Between Hands of a Clock | 59% | Medium | |
1345 | * Jump Game IV | 30% | Hard | |
1346 | * Check If N and Its Double Exist | 41% | Easy | |
1347 | * Minimum Number of Steps to Make Two Strings Anagram | 69% | Medium | |
1348 | * Tweet Counts Per Frequency | 24% | Medium | |
1349 | * Maximum Students Taking Exam | 39% | Hard | |
1351 | * Count Negative Numbers in a Sorted Matrix | 78% | Easy | |
1352 | * Product of the Last K Numbers | 41% | Medium | |
1353 | * Maximum Number of Events That Can Be Attended | 29% | Medium | |
1354 | * Construct Target Array With Multiple Sums | 30% | Hard | |
1356 | * Sort Integers by The Number of 1 Bits | 67% | Easy | |
1357 | * Apply Discount Every n Orders | 44% | Medium | |
1358 | * Number of Substrings Containing All Three Characters | 40% | Medium | |
1359 | * Count All Valid Pickup and Delivery Options | 53% | Hard | |
1360 | * Number of Days Between Two Dates | 45% | Easy | |
1361 | * Validate Binary Tree Nodes | 54% | Medium | |
1362 | * Closest Divisors | 47% | Medium | |
1363 | * Largest Multiple of Three | 31% | Hard | |
1365 | * How Many Numbers Are Smaller Than the Current Number | 82% | Easy | |
1366 | * Rank Teams by Votes | 46% | Medium | |
1367 | * Linked List in Binary Tree | 35% | Medium | |
1368 | * Minimum Cost to Make at Least One Valid Path in a Grid | 47% | Hard | |
1370 | * Increasing Decreasing String | 73% | Easy | |
1371 | * Find the Longest Substring Containing Vowels in Even Counts | 41% | Medium | |
1372 | * Longest ZigZag Path in a Binary Tree | 42% | Medium | |
1373 | * Maximum Sum BST in Binary Tree | 41% | Hard | |
1374 | * Generate a String With Characters That Have Odd Counts | 70% | Easy | |
1375 | * Bulb Switcher III | 48% | Medium | |
1376 | * Time Needed to Inform All Employees | 47% | Medium | |
1377 | * Frog Position After T Seconds | 28% | Hard | |
1379 | * Find a Corresponding Node of a Binary Tree in a Clone of That Tree | 83% | Medium | |
1380 | * Lucky Numbers in a Matrix | 70% | Easy | |
1381 | * Design a Stack With Increment Operation | 72% | Medium | |
1382 | * Balance a Binary Search Tree | 63% | Medium | |
1383 | * Maximum Performance of a Team | 27% | Hard | |
1385 | * Find the Distance Value Between Two Arrays | 72% | Easy | |
1386 | * Cinema Seat Allocation | 24% | Medium | |
1387 | * Sort Integers by The Power Value | 67% | Medium | |
1388 | * Pizza With 3n Slices | 40% | Hard | |
1389 | * Create Target Array in the Given Order | 82% | Easy | |
1390 | * Four Divisors | 31% | Medium | |
1391 | * Check if There is a Valid Path in a Grid | 37% | Medium | |
1392 | * Longest Happy Prefix | 33% | Hard | |
1394 | * Find Lucky Integer in an Array | 68% | Easy | |
1395 | * Count Number of Teams | 82% | Medium | |
1396 | * Design Underground System | 44% | Medium | |
1397 | * Find All Good Strings | 28% | Hard |
以下免费的算法题,暂时不能提交 Go 解答
gen_kit 会处理大部分琐碎的工作。
感谢aQuaYi开源的Leetcode Helper工具