# Title Solution Acceptance Difficulty Paid-Only
0001 Two Sum C++ 44.64% Easy
0002 Add Two Numbers C++ 32.01% Medium
0003 Longest Substring Without Repeating Characters C++ 28.99% Medium
0004 Median of Two Sorted Arrays C++ 27.53% Hard
0005 Longest Palindromic Substring C++ 28.08% Medium
0006 ZigZag Conversion C++ 33.57% Medium
0007 Reverse Integer C++ Python 25.51% Easy
0008 String to Integer (atoi) C++ 14.83% Medium
0009 Palindrome Number C++ 45.27% Easy
0010 Regular Expression Matching C++ 25.82% Hard
0011 Container With Most Water C++ Python 47.18% Medium
0012 Integer to Roman C++ 52.38% Medium
0013 Roman to Integer C++ 53.51% Easy
0014 Longest Common Prefix C++ 34.24% Easy
0015 3Sum C++ Python 24.98% Medium
0016 3Sum Closest C++ 45.72% Medium
0017 Letter Combinations of a Phone Number C++ Python 43.36% Medium
0018 4Sum C++ 31.68% Medium
0019 Remove Nth Node From End of List C++ Python 34.62% Medium
0020 Valid Parentheses Python C++ 37.40% Easy
0021 Merge Two Sorted Lists C++ Python 49.43% Easy
0022 Generate Parentheses C++ Python 57.57% Medium
0023 Merge k Sorted Lists C++ 36.51% Hard
0024 Swap Nodes in Pairs C++ 46.75% Medium
0025 Reverse Nodes in k-Group C++ 38.22% Hard
0026 Remove Duplicates from Sorted Array C++ 42.18% Easy
0027 Remove Element C++ 45.83% Easy
0028 Implement strStr() C++ 33.09% Easy
0029 Divide Two Integers C++ 16.15% Medium
0030 Substring with Concatenation of All Words C++ 24.26% Hard
0031 Next Permutation C++ 31.19% Medium
0032 Longest Valid Parentheses 26.54% Hard
0033 Search in Rotated Sorted Array C++ 33.26% Medium
0034 Find First and Last Position of Element in Sorted Array C++ 34.39% Medium
0035 Search Insert Position C++ 41.24% Easy
0036 Valid Sudoku C++ 45.15% Medium
0037 Sudoku Solver C++ 39.18% Hard
0038 Count and Say C++ 42.00% Easy
0039 Combination Sum C++ 51.27% Medium
0040 Combination Sum II C++ 43.92% Medium
0041 First Missing Positive C++ 29.97% Hard
0042 Trapping Rain Water C++ 45.21% Hard
0043 Multiply Strings C++ 31.80% Medium
0044 Wildcard Matching C++ C 23.52% Hard
0045 Jump Game II C++ 28.98% Hard
0046 Permutations C++ 57.99% Medium
0047 Permutations II C++ 42.63% Medium
0048 Rotate Image C++ 51.14% Medium
0049 Group Anagrams C++ 50.01% Medium
0050 Pow(x, n) C++ 28.68% Medium
0051 N-Queens C++ 41.88% Hard
0052 N-Queens II C++ 54.12% Hard
0053 Maximum Subarray C++ 44.82% Easy
0054 Spiral Matrix C++ 31.75% Medium
0055 Jump Game C++ 32.70% Medium
0056 Merge Intervals C++ 36.93% Medium
0057 Insert Interval C++ Python 31.93% Hard
0058 Length of Last Word C++ 32.32% Easy
0059 Spiral Matrix II C++ 49.18% Medium
0060 Permutation Sequence C++ 34.35% Medium
0061 Rotate List C++ 28.15% Medium
0062 Unique Paths C++ 49.63% Medium
0063 Unique Paths II C++ 33.73% Medium
0064 Minimum Path Sum C++ 49.05% Medium
0066 Plus One C++ 41.73% Easy
0067 Add Binary C++ 40.92% Easy
0068 Text Justification C++ 24.67% Hard
0069 Sqrt(x) C++ 32.27% Easy
0070 Climbing Stairs C++ 45.30% Easy
0071 Simplify Path C++ 29.90% Medium
0072 Edit Distance C++ 39.80% Hard
0073 Set Matrix Zeroes C++ 41.11% Medium
0074 Search a 2D Matrix C++ 35.38% Medium
0075 Sort Colors C++ 43.50% Medium
0076 Minimum Window Substring C++ 32.20% Hard
0077 Combinations C++ 50.26% Medium
0078 Subsets C++ 55.69% Medium
0079 Word Search C++ 32.66% Medium
0080 Remove Duplicates from Sorted Array II C++ 41.61% Medium
0081 Search in Rotated Sorted Array II C++ 32.79% Medium
0082 Remove Duplicates from Sorted List II C++ 34.35% Medium
0083 Remove Duplicates from Sorted List C++ 43.55% Easy
0084 Largest Rectangle in Histogram C++ 32.46% Hard
0085 Maximal Rectangle C++ 34.84% Hard
0086 Partition List C++ 38.71% Medium
0087 Scramble String C++ 32.37% Hard
0088 Merge Sorted Array C++ 37.13% Easy
0089 Gray Code C++ 46.96% Medium
0090 Subsets II C++ 44.02% Medium
0091 Decode Ways C++ 23.03% Medium
0092 Reverse Linked List II C++ 36.30% Medium
0093 Restore IP Addresses C++ 32.66% Medium
0094 Binary Tree Inorder Traversal C++ 58.95% Medium
0095 Unique Binary Search Trees II C++ 37.27% Medium
0096 Unique Binary Search Trees C++ 48.15% Medium
0097 Interleaving String C++ 29.18% Hard
0098 Validate Binary Search Tree C++ 26.46% Medium
0099 Recover Binary Search Tree C++ Java 36.00% Hard
0100 Same Tree C++ 50.96% Easy
0101 Symmetric Tree C++ 44.68% Easy
0102 Binary Tree Level Order Traversal C++ 50.53% Medium
0103 Binary Tree Zigzag Level Order Traversal C++ 43.61% Medium
0104 Maximum Depth of Binary Tree C++ 62.48% Easy
0105 Construct Binary Tree from Preorder and Inorder Traversal C++ 43.65% Medium
0106 Construct Binary Tree from Inorder and Postorder Traversal C++ 41.42% Medium
0107 Binary Tree Level Order Traversal II C++ 48.59% Easy
0108 Convert Sorted Array to Binary Search Tree C++ 53.14% Easy
0109 Convert Sorted List to Binary Search Tree C++ 42.95% Medium
0110 Balanced Binary Tree C++ 41.89% Easy
0111 Minimum Depth of Binary Tree C++ 36.03% Easy
0112 Path Sum C++ 38.92% Easy
0113 Path Sum II C++ 42.61% Medium
0114 Flatten Binary Tree to Linked List C++ 44.64% Medium
0115 Distinct Subsequences C++ 35.98% Hard
0116 Populating Next Right Pointers in Each Node C++ 39.84% Medium
0117 Populating Next Right Pointers in Each Node II C++ 35.86% Medium
0118 Pascal's Triangle C++ 48.34% Easy
0119 Pascal's Triangle II C++ 45.55% Easy
0120 Triangle C++ 41.08% Medium
0121 Best Time to Buy and Sell Stock C++ 48.46% Easy
0122 Best Time to Buy and Sell Stock II C++ 53.35% Easy
0123 Best Time to Buy and Sell Stock III C++ 35.08% Hard
0124 Binary Tree Maximum Path Sum C++ 31.25% Hard
0125 Valid Palindrome C++ 32.68% Easy
0126 Word Ladder II C++ 19.19% Hard
0127 Word Ladder C++ 25.97% Medium
0128 Longest Consecutive Sequence C++ 42.94% Hard
0129 Sum Root to Leaf Numbers C++ 44.10% Medium
0130 Surrounded Regions C++ 24.28% Medium
0131 Palindrome Partitioning C++ 43.11% Medium
0132 Palindrome Partitioning II C++ 28.48% Hard
0133 Clone Graph C++ 29.10% Medium
0134 Gas Station C++ 35.36% Medium
0135 Candy C++ 29.50% Hard
0136 Single Number C++ 61.72% Easy
0137 Single Number II C++ 47.41% Medium
0138 Copy List with Random Pointer C++ 29.60% Medium
0139 Word Break C++ 36.93% Medium
0140 Word Break II C++ 28.50% Hard
0141 Linked List Cycle C++ 38.45% Easy
0142 Linked List Cycle II C++ 33.83% Medium
0143 Reorder List C++ 32.73% Medium
0144 Binary Tree Preorder Traversal C++ 52.88% Medium
0145 Binary Tree Postorder Traversal C++ 50.65% Hard
0146 LRU Cache C++ 27.85% Medium
0147 Insertion Sort List C++ 38.65% Medium
0148 Sort List C++ 37.71% Medium
0149 Max Points on a Line C++ 16.19% Hard
0150 Evaluate Reverse Polish Notation C++ 33.68% Medium
0151 Reverse Words in a String C++ 18.16% Medium
0152 Maximum Product Subarray C++ 30.21% Medium
0153 Find Minimum in Rotated Sorted Array C++ 43.72% Medium
0155 Min Stack C++ 39.22% Easy
0156 Binary Tree Upside Down C++ 52.59% Medium Yes
0159 Longest Substring with At Most Two Distinct Characters C++ 48.03% Hard Yes
0160 Intersection of Two Linked Lists C++ 36.05% Easy
0161 One Edit Distance C++ 32.01% Medium Yes
0162 Find Peak Element C++ 41.98% Medium
0163 Missing Ranges C++ 23.58% Medium Yes
0164 Maximum Gap C++ 33.55% Hard
0165 Compare Version Numbers C++ 24.94% Medium
0166 Fraction to Recurring Decimal C++ 20.14% Medium
0167 Two Sum II - Input array is sorted C++ 51.60% Easy
0168 Excel Sheet Column Title C++ 29.70% Easy
0169 Majority Element C++ 54.48% Easy
0170 Two Sum III - Data structure design C++ 31.76% Easy Yes
0171 Excel Sheet Column Number C++ 52.52% Easy
0172 Factorial Trailing Zeroes C++ 37.62% Easy
0173 Binary Search Tree Iterator C++ 51.11% Medium
0174 Dungeon Game C++ 28.20% Hard
0179 Largest Number C++ 26.72% Medium
0186 Reverse Words in a String II C++ 39.76% Medium Yes
0187 Repeated DNA Sequences C++ 37.11% Medium
0188 Best Time to Buy and Sell Stock IV C++ 27.01% Hard
0189 Rotate Array C++ 31.79% Easy
0190 Reverse Bits C++ 33.30% Easy
0191 Number of 1 Bits C++ 45.23% Easy
0193 Valid Phone Numbers 25.46% Easy
0198 House Robber C++ 41.38% Easy
0199 Binary Tree Right Side View C++ 49.94% Medium
0200 Number of Islands C++ 43.25% Medium
0201 Bitwise AND of Numbers Range C++ 36.66% Medium
0202 Happy Number C++ 46.97% Easy
0203 Remove Linked List Elements C++ 36.56% Easy
0204 Count Primes C++ 29.98% Easy
0205 Isomorphic Strings C++ 38.41% Easy
0206 Reverse Linked List C++ 57.40% Easy
0207 Course Schedule C++ 39.61% Medium
0208 Implement Trie (Prefix Tree) C++ 41.30% Medium
0209 Minimum Size Subarray Sum C++ 35.79% Medium
0210 Course Schedule II C++ 36.66% Medium
0211 Add and Search Word - Data structure design C++ 32.30% Medium
0212 Word Search II C++ 30.47% Hard
0213 House Robber II C++ 35.66% Medium
0214 Shortest Palindrome C++ 28.32% Hard
0215 Kth Largest Element in an Array C++ 50.33% Medium
0216 Combination Sum III C++ 53.36% Medium
0217 Contains Duplicate C++ 53.65% Easy
0218 The Skyline Problem C++ 32.63% Hard
0219 Contains Duplicate II C++ 36.16% Easy
0220 Contains Duplicate III C++ 20.21% Medium
0221 Maximal Square C++ 34.36% Medium
0222 Count Complete Tree Nodes C++ 37.76% Medium
0223 Rectangle Area C++ 36.51% Medium
0224 Basic Calculator C++ 34.30% Hard
0225 Implement Stack using Queues C++ 41.20% Easy
0226 Invert Binary Tree C++ 60.02% Easy
0227 Basic Calculator II C++ 34.80% Medium
0228 Summary Ranges C++ 37.10% Medium
0229 Majority Element II C++ 33.34% Medium
0230 Kth Smallest Element in a BST C++ 53.84% Medium
0231 Power of Two C++ 42.44% Easy
0232 Implement Queue using Stacks C++ 45.30% Easy
0233 Number of Digit One C++ 30.72% Hard
0234 Palindrome Linked List C++ 37.22% Easy
0235 Lowest Common Ancestor of a Binary Search Tree C++ 46.62% Easy
0236 Lowest Common Ancestor of a Binary Tree C++ 40.22% Medium
0237 Delete Node in a Linked List C++ 56.08% Easy
0238 Product of Array Except Self C++ 57.03% Medium
0239 Sliding Window Maximum C++ 39.64% Hard
0240 Search a 2D Matrix II C++ 41.67% Medium
0241 Different Ways to Add Parentheses C++ 51.91% Medium
0242 Valid Anagram C++ 53.87% Easy
0243 Shortest Word Distance C++ 58.82% Easy Yes
0244 Shortest Word Distance II C++ 49.60% Medium Yes
0245 Shortest Word Distance III C++ 54.24% Medium Yes
0246 Strobogrammatic Number C++ 43.28% Easy Yes
0247 Strobogrammatic Number II C++ 45.66% Medium Yes
0248 Strobogrammatic Number III C++ 37.71% Hard Yes
0249 Group Shifted Strings C++ 50.23% Medium Yes
0250 Count Univalue Subtrees C++ 50.34% Medium Yes
0251 Flatten 2D Vector C++ 44.65% Medium Yes
0252 Meeting Rooms C++ 53.10% Easy Yes
0253 Meeting Rooms II C++ 43.85% Medium Yes
0254 Factor Combinations C++ 45.23% Medium Yes
0255 Verify Preorder Sequence in Binary Search Tree C++ 44.48% Medium Yes
0256 Paint House C++ 50.25% Easy Yes
0257 Binary Tree Paths C++ 47.63% Easy
0258 Add Digits C++ 54.92% Easy
0259 3Sum Smaller C++ 45.83% Medium Yes
0260 Single Number III C++ 58.46% Medium
0261 Graph Valid Tree C++ 40.62% Medium Yes
0263 Ugly Number C++ 41.00% Easy
0264 Ugly Number II C++ 37.74% Medium
0265 Paint House II C++ 42.71% Hard Yes
0266 Palindrome Permutation C++ 60.61% Easy Yes
0267 Palindrome Permutation II C++ 34.57% Medium Yes
0268 Missing Number C++ 49.41% Easy
0269 Alien Dictionary C++ 32.70% Hard Yes
0270 Closest Binary Search Tree Value C++ 45.02% Easy Yes
0271 Encode and Decode Strings C++ 28.36% Medium Yes
0272 Closest Binary Search Tree Value II C++ 47.15% Hard Yes
0273 Integer to English Words C++ 25.12% Hard
0274 H-Index C++ 34.93% Medium
0275 H-Index II C++ 35.80% Medium
0276 Paint Fence C++ 37.11% Easy Yes
0277 Find the Celebrity C++ 38.57% Medium Yes
0278 First Bad Version C++ 31.62% Easy
0279 Perfect Squares C++ 43.29% Medium
0280 Wiggle Sort C++ 61.83% Medium Yes
0281 Zigzag Iterator C++ 56.88% Medium Yes
0282 Expression Add Operators C++ 33.85% Hard
0283 Move Zeroes C++ 55.38% Easy
0284 Peeking Iterator C++ 42.15% Medium
0285 Inorder Successor in BST C++ 36.63% Medium Yes
0286 Walls and Gates C++ 50.89% Medium Yes
0287 Find the Duplicate Number C++ 51.33% Medium
0289 Game of Life C++ 48.62% Medium
0290 Word Pattern C++ 35.73% Easy
0291 Word Pattern II C++ 42.06% Hard Yes
0292 Nim Game C++ 55.88% Easy
0295 Find Median from Data Stream C++ 39.16% Hard
0297 Serialize and Deserialize Binary Tree C++ 43.08% Hard
0298 Binary Tree Longest Consecutive Sequence C++ 45.05% Medium Yes
0299 Bulls and Cows C++ 40.61% Easy
0300 Longest Increasing Subsequence C++ 41.54% Medium
0301 Remove Invalid Parentheses C++ 40.64% Hard
0303 Range Sum Query - Immutable C++ 40.26% Easy
0304 Range Sum Query 2D - Immutable C++ 34.59% Medium
0307 Range Sum Query - Mutable C++ 30.71% Medium
0308 Range Sum Query 2D - Mutable C++ 33.25% Hard Yes
0309 Best Time to Buy and Sell Stock with Cooldown C++ 44.98% Medium
0310 Minimum Height Trees C++ 30.93% Medium
0312 Burst Balloons C++ 48.82% Hard
0313 Super Ugly Number C++ 42.88% Medium
0315 Count of Smaller Numbers After Self C++ 39.68% Hard
0316 Remove Duplicate Letters C++ 33.60% Hard
0318 Maximum Product of Word Lengths C++ 49.43% Medium
0319 Bulb Switcher C++ 44.52% Medium
0322 Coin Change C++ 32.19% Medium
0324 Wiggle Sort II C++ 28.66% Medium
0326 Power of Three C++ 41.87% Easy
0327 Count of Range Sum C++ 33.81% Hard
0328 Odd Even Linked List C++ 50.72% Medium
0329 Longest Increasing Path in a Matrix C++ 41.24% Hard
0331 Verify Preorder Serialization of a Binary Tree C++ 39.25% Medium
0332 Reconstruct Itinerary C++ 32.93% Medium
0334 Increasing Triplet Subsequence C++ 39.68% Medium
0336 Palindrome Pairs C++ 32.06% Hard
0337 House Robber III C++ 49.05% Medium
0338 Counting Bits C++ 65.87% Medium
0340 Longest Substring with At Most K Distinct Characters C++ 41.33% Hard Yes
0341 Flatten Nested List Iterator C++ 49.76% Medium
0342 Power of Four C++ 40.80% Easy
0343 Integer Break C++ 48.70% Medium
0344 Reverse String C++ 64.30% Easy
0345 Reverse Vowels of a String C++ 42.33% Easy
0347 Top K Frequent Elements C++ 57.06% Medium
0348 Design Tic-Tac-Toe C++ 51.36% Medium Yes
0349 Intersection of Two Arrays C++ 57.26% Easy
0350 Intersection of Two Arrays II C++ 49.32% Easy
0354 Russian Doll Envelopes C++ 34.50% Hard
0355 Design Twitter C++ 28.41% Medium
0363 Max Sum of Rectangle No Larger Than K C++ 35.73% Hard
0367 Valid Perfect Square C++ 40.46% Easy
0371 Sum of Two Integers C++ 50.79% Easy
0374 Guess Number Higher or Lower C++ 40.56% Easy
0375 Guess Number Higher or Lower II C++ 38.80% Medium
0376 Wiggle Subsequence C++ 38.32% Medium
0377 Combination Sum IV C++ 44.02% Medium
0378 Kth Smallest Element in a Sorted Matrix C++ 51.01% Medium
0380 Insert Delete GetRandom O(1) C++ 44.07% Medium
0384 Shuffle an Array C++ 51.05% Medium
0385 Mini Parser C++ 32.48% Medium
0387 First Unique Character in a String C++ 50.80% Easy
0388 Longest Absolute File Path C++ 40.01% Medium
0392 Is Subsequence C++ 47.60% Easy
0393 UTF-8 Validation C++ 36.52% Medium
0394 Decode String C++ 46.78% Medium
0395 Longest Substring with At Least K Repeating Characters C++ 39.64% Medium
0399 Evaluate Division C++ Java 48.99% Medium
0400 Nth Digit C++ 30.74% Medium
0402 Remove K Digits C++ 27.09% Medium
0406 Queue Reconstruction by Height C++ 61.38% Medium
0410 Split Array Largest Sum C++ 43.09% Hard
0412 Fizz Buzz C++ 60.22% Easy
0413 Arithmetic Slices C++ 56.57% Medium
0414 Third Maximum Number C++ 29.53% Easy
0415 Add Strings C++ 44.89% Easy
0416 Partition Equal Subset Sum C++ 41.86% Medium
0421 Maximum XOR of Two Numbers in an Array C++ 52.03% Medium
0424 Longest Repeating Character Replacement C++ 44.79% Medium
0426 Convert Binary Search Tree to Sorted Doubly Linked List C++ 54.70% Medium Yes
0435 Non-overlapping Intervals C++ 41.84% Medium
0436 Find Right Interval C++ 43.63% Medium
0437 Path Sum III C++ 43.97% Easy
0438 Find All Anagrams in a String C++ 38.82% Medium
0439 Ternary Expression Parser C++ 54.36% Medium Yes
0441 Arranging Coins C++ 38.78% Easy
0442 Find All Duplicates in an Array C++ 62.59% Medium
0446 Arithmetic Slices II - Subsequence C++ 31.15% Hard
0448 Find All Numbers Disappeared in an Array C++ 54.37% Easy
0450 Delete Node in a BST C++ 40.83% Medium
0452 Minimum Number of Arrows to Burst Balloons C++ 47.42% Medium
0453 Minimum Moves to Equal Array Elements C++ 49.60% Easy
0454 4Sum II C++ 51.64% Medium
0455 Assign Cookies C++ 48.84% Easy
0456 132 Pattern C++ 27.38% Medium
0458 Poor Pigs C++ 46.37% Hard
0460 LFU Cache C++ 30.60% Hard
0461 Hamming Distance C++ 70.70% Easy
0462 Minimum Moves to Equal Array Elements II C++ 52.80% Medium
0463 Island Perimeter C++ 61.94% Easy
0464 Can I Win C++ 28.05% Medium
0469 Convex Polygon C++ 36.02% Medium Yes
0473 Matchsticks to Square C++ 36.59% Medium
0474 Ones and Zeroes C++ 40.82% Medium
0475 Heaters C++ 32.37% Easy
0476 Number Complement C++ 62.78% Easy
0477 Total Hamming Distance C++ 49.81% Medium
0481 Magical String C++ 46.66% Medium
0485 Max Consecutive Ones C++ 55.66% Easy
0486 Predict the Winner C++ 47.10% Medium
0490 The Maze C++ 48.93% Medium Yes
0493 Reverse Pairs C++ 23.83% Hard
0494 Target Sum C++ 45.86% Medium
0495 Teemo Attacking C++ 52.74% Medium
0496 Next Greater Element I C++ 60.85% Easy
0497 Random Point in Non-overlapping Rectangles C++ 36.51% Medium
0499 The Maze III C++ 38.50% Hard Yes
0504 Base 7 C++ 45.29% Easy
0505 The Maze II C++ 45.48% Medium Yes
0516 Longest Palindromic Subsequence C++ 48.93% Medium
0518 Coin Change 2 C++ 44.54% Medium
0525 Contiguous Array C++ 43.72% Medium
0526 Beautiful Arrangement C++ 55.83% Medium
0527 Word Abbreviation C++ 51.64% Hard Yes
0528 Random Pick with Weight C++ 43.12% Medium
0532 K-diff Pairs in an Array C++ 30.44% Easy
0535 Encode and Decode TinyURL C++ 77.90% Medium
0538 Convert BST to Greater Tree C++ 52.51% Easy
0542 01 Matrix C++ 37.18% Medium
0543 Diameter of Binary Tree C++ 47.59% Easy
0547 Friend Circles C++ 55.50% Medium
0548 Split Array with Equal Sum C++ 44.05% Medium Yes
0549 Binary Tree Longest Consecutive Sequence II C++ 45.20% Medium Yes
0554 Brick Wall C++ 48.32% Medium
0555 Split Concatenated Strings C++ 40.53% Medium Yes
0560 Subarray Sum Equals K C++ 42.99% Medium
0561 Array Partition I C++ 70.19% Easy
0565 Array Nesting C++ 53.79% Medium
0567 Permutation in String C++ 39.35% Medium
0572 Subtree of Another Tree C++ 42.60% Easy
0576 Out of Boundary Paths C++ 33.06% Medium
0581 Shortest Unsorted Continuous Subarray C++ 30.54% Easy
0587 Erect the Fence C++ 34.61% Hard
0588 Design In-Memory File System C++ 42.23% Hard Yes
0609 Find Duplicate File in System C++ 56.76% Medium
0617 Merge Two Binary Trees C++ 71.41% Easy
0621 Task Scheduler C++ 46.65% Medium
0622 Design Circular Queue C++ 41.24% Medium
0642 Design Search Autocomplete System C++ 40.36% Hard Yes
0647 Palindromic Substrings C++ 58.22% Medium
0650 2 Keys Keyboard C++ 47.34% Medium
0651 4 Keys Keyboard C++ 51.44% Medium Yes
0652 Find Duplicate Subtrees C++ 47.29% Medium
0653 Two Sum IV - Input is a BST C++ 53.50% Easy
0657 Robot Return to Origin C++ 72.31% Easy
0658 Find K Closest Elements C++ 38.94% Medium
0666 Path Sum IV C++ 53.60% Medium Yes
0667 Beautiful Arrangement II C++ 52.70% Medium
0673 Number of Longest Increasing Subsequence C++ 34.29% Medium
0674 Longest Continuous Increasing Subsequence C++ 44.94% Easy
0678 Valid Parenthesis String C++ 33.37% Medium
0679 24 Game C++ 43.98% Hard
0684 Redundant Connection C++ 53.83% Medium
0685 Redundant Connection II C++ 31.47% Hard
0687 Longest Univalue Path C++ 34.62% Easy
0695 Max Area of Island C++ 59.19% Medium
0698 Partition to K Equal Sum Subsets C++ 43.80% Medium
0704 Binary Search C++ 49.63% Easy
0706 Design HashMap C++ 57.47% Easy
0714 Best Time to Buy and Sell Stock with Transaction Fee C++ 51.96% Medium
0717 1-bit and 2-bit Characters C++ 49.17% Easy
0718 Maximum Length of Repeated Subarray C++ 47.60% Medium
0729 My Calendar I C++ 48.84% Medium
0731 My Calendar II C++ 46.29% Medium
0732 My Calendar III C++ 57.11% Hard
0733 Flood Fill C++ 51.93% Easy
0739 Daily Temperatures C++ 60.87% Medium
0741 Cherry Pickup C++ 31.26% Hard
0743 Network Delay Time C++ 44.32% Medium
0744 Find Smallest Letter Greater Than Target C++ 44.58% Easy
0751 IP to CIDR C++ 60.92% Easy Yes
0755 Pour Water C++ 42.08% Medium Yes
0756 Pyramid Transition Matrix C++ 52.94% Medium
0759 Employee Free Time C++ 62.91% Hard Yes
0760 Find Anagram Mappings C++ 79.84% Easy Yes
0762 Prime Number of Set Bits in Binary Representation C++ 60.64% Easy
0771 Jewels and Stones C++ 83.81% Easy
0772 Basic Calculator III C++ 41.38% Hard Yes
0773 Sliding Puzzle C++ 54.93% Hard
0774 Minimize Max Distance to Gas Station C++ 43.61% Hard Yes
0777 Swap Adjacent in LR String C++ 33.96% Medium
0784 Letter Case Permutation C++ 59.56% Easy
0786 K-th Smallest Prime Fraction C++ 40.95% Hard
0787 Cheapest Flights Within K Stops C++ 36.38% Medium
0804 Unique Morse Code Words C++ 75.39% Easy
0805 Split Array With Same Average C++ 25.16% Hard
0806 Number of Lines To Write String C++ 63.67% Easy
0807 Max Increase to Keep City Skyline C++ 82.17% Medium
0815 Bus Routes C++ 41.06% Hard
0829 Consecutive Numbers Sum C++ 34.83% Hard
0832 Flipping an Image C++ 73.67% Easy
0843 Guess the Word C++ 45.07% Hard
0852 Peak Index in a Mountain Array C++ 70.23% Easy
0857 Minimum Cost to Hire K Workers C++ 48.64% Hard
0860 Lemonade Change C++ 50.76% Easy
0864 Shortest Path to Get All Keys C++ 38.39% Hard
0870 Advantage Shuffle C++ 43.48% Medium
0875 Koko Eating Bananas C++ 47.61% Medium
0877 Stone Game C++ 62.58% Medium
0879 Profitable Schemes C++ 37.67% Hard
0887 Super Egg Drop C++ 25.74% Hard
0891 Sum of Subsequence Widths C++ 30.13% Hard
0892 Surface Area of 3D Shapes C++ 56.97% Easy
0911 Online Election C++ 48.20% Medium
0915 Partition Array into Disjoint Intervals C++ 43.91% Medium
0929 Unique Email Addresses C++ 68.53% Easy
0930 Binary Subarrays With Sum C++ 39.62% Medium
0937 Reorder Data in Log Files C++ 54.15% Easy
0954 Array of Doubled Pairs C++ 35.14% Medium
0961 N-Repeated Element in Size 2N Array C++ 72.57% Easy
0962 Maximum Width Ramp C++ 43.07% Medium
0963 Minimum Area Rectangle II C++ 46.98% Medium
0973 K Closest Points to Origin C++ 61.22% Medium
0981 Time Based Key-Value Store C++ 51.75% Medium
0983 Minimum Cost For Tickets C++ 57.64% Medium
0984 String Without AAA or BBB C++ 34.87% Medium
0992 Subarrays with K Different Integers C++ 45.48% Hard
1004 Max Consecutive Ones III C++ 55.13% Medium
1007 Minimum Domino Rotations For Equal Row C++ 51.37% Medium
1009 Complement of Base 10 Integer C++ 59.13% Easy
1010 Pairs of Songs With Total Durations Divisible by 60 C++ 46.46% Easy
1011 Capacity To Ship Packages Within D Days C++ 55.12% Medium
1017 Convert to Base -2 C++ 56.91% Medium
1018 Binary Prefix Divisible By 5 C++ 46.81% Easy
1019 Next Greater Node In Linked List C++ 56.73% Medium
1020 Number of Enclaves C++ 54.94% Medium
1021 Remove Outermost Parentheses C++ 75.28% Easy
1022 Sum of Root To Leaf Binary Numbers C++ 61.42% Easy
1023 Camelcase Matching C++ 54.96% Medium
1024 Video Stitching C++ 47.54% Medium
1025 Divisor Game C++ 65.20% Easy
1026 Maximum Difference Between Node and Ancestor C++ 61.58% Medium
1027 Longest Arithmetic Sequence C++ 51.14% Medium
1028 Recover a Tree From Preorder Traversal C++ 69.48% Hard
1033 Moving Stones Until Consecutive C++ 38.26% Easy
1034 Coloring A Border C++ 43.00% Medium
1037 Valid Boomerang C++ 37.35% Easy
1038 Binary Search Tree to Greater Sum Tree C++ 77.96% Medium
1039 Minimum Score Triangulation of Polygon C++ 43.99% Medium
1040 Moving Stones Until Consecutive II C++ 49.33% Medium
1041 Robot Bounded In Circle C++ 45.63% Medium
1042 Flower Planting With No Adjacent C++ 47.83% Easy
1043 Partition Array for Maximum Sum C++ 62.87% Medium
1046 Last Stone Weight C++ 62.43% Easy
1047 Remove All Adjacent Duplicates In String C++ 64.83% Easy
1048 Longest String Chain C++ 50.99% Medium
1049 Last Stone Weight II C++ 41.28% Medium
1051 Height Checker C++ 68.34% Easy
1052 Grumpy Bookstore Owner C++ 53.19% Medium
1053 Previous Permutation With One Swap C++ 46.90% Medium
1054 Distant Barcodes C++ 40.14% Medium
1058 Minimize Rounding Error to Meet Target C++ 40.40% Medium Yes
1071 Greatest Common Divisor of Strings C++ 53.94% Easy
1072 Flip Columns For Maximum Number of Equal Rows C++ 59.14% Medium
1073 Adding Two Negabinary Numbers C++ 32.02% Medium
1074 Number of Submatrices That Sum to Target C++ 58.52% Hard
1078 Occurrences After Bigram C++ 64.45% Easy
1079 Letter Tile Possibilities C++ 74.51% Medium
1080 Insufficient Nodes in Root to Leaf Paths C++ 44.58% Medium
1081 Smallest Subsequence of Distinct Characters C++ 44.42% Medium
1089 Duplicate Zeros C++ 58.61% Easy
1090 Largest Values From Labels C++ 57.67% Medium
1091 Shortest Path in Binary Matrix C++ 36.41% Medium
1092 Shortest Common Supersequence C++ 49.26% Hard
1093 Statistics from a Large Sample C++ 44.42% Medium
1094 Car Pooling C++ 57.11% Medium
1095 Find in Mountain Array C++ 34.58% Hard
1103 Distribute Candies to People C++ 60.01% Easy
1104 Path In Zigzag Labelled Binary Tree C++ 70.67% Medium
1105 Filling Bookcase Shelves C++ 56.62% Medium
1108 Defanging an IP Address C++ 84.14% Easy
1109 Corporate Flight Bookings C++ 49.27% Medium
1110 Delete Nodes And Return Forest C++ 63.89% Medium
1111 Maximum Nesting Depth of Two Valid Parentheses Strings C++ 67.24% Medium
1114 Print in Order C++ 59.63% Easy
1115 Print FooBar Alternately C++ 58.28% Medium
1116 Print Zero Even Odd C++ 53.31% Medium
1117 Building H2O C++ 47.98% Medium
1122 Relative Sort Array C++ 66.21% Easy
1123 Lowest Common Ancestor of Deepest Leaves C++ 64.74% Medium
1124 Longest Well-Performing Interval C++ 31.81% Medium
1125 Smallest Sufficient Team C++ 44.61% Hard
1128 Number of Equivalent Domino Pairs C++ 45.72% Easy
1129 Shortest Path with Alternating Colors C++ 37.18% Medium
1130 Minimum Cost Tree From Leaf Values C++ 61.14% Medium
1137 N-th Tribonacci Number C++ 58.18% Easy
1138 Alphabet Board Path C++ 44.32% Medium
1139 Largest 1-Bordered Square C++ 44.39% Medium
1144 Decrease Elements To Make Array Zigzag C++ 42.86% Medium
1145 Binary Tree Coloring Game C++ 48.79% Medium
1146 Snapshot Array C++ 33.09% Medium
1147 Longest Chunked Palindrome Decomposition C++ 58.14% Hard
1154 Day of the Year C++ 49.09% Easy
1155 Number of Dice Rolls With Target Sum C++ 48.83% Medium
1156 Swap For Longest Repeated Character Substring C++ 46.76% Medium
1157 Online Majority Element In Subarray C++ 33.35% Hard
1160 Find Words That Can Be Formed by Characters C++ 66.62% Easy
1161 Maximum Level Sum of a Binary Tree C++ 71.03% Medium
1162 As Far from Land as Possible C++ 39.73% Medium
1163 Last Substring in Lexicographical Order C++ 30.38% Hard
1166 Design File System C++ 59.47% Medium Yes
1170 Compare Strings by Frequency of the Smallest Character C++ 59.34% Easy
1171 Remove Zero Sum Consecutive Nodes from Linked List C++ 41.78% Medium
1175 Prime Arrangements C++ 50.10% Easy
1176 Diet Plan Performance C++ 49.31% Easy Yes
1177 Can Make Palindrome from Substring C++ 32.15% Medium
1178 Number of Valid Words for Each Puzzle C++ 35.26% Hard
1184 Distance Between Bus Stops C++ 56.50% Easy
1185 Day of the Week C++ 65.23% Easy
1186 Maximum Subarray Sum with One Deletion C++ 33.62% Medium
1189 Maximum Number of Balloons C++ 62.24% Easy
1190 Reverse Substrings Between Each Pair of Parentheses C++ 57.52% Medium
1191 K-Concatenation Maximum Sum C++ 24.18% Medium
1200 Minimum Absolute Difference C++ 66.37% Easy
1201 Ugly Number III C++ 24.18% Medium
1202 Smallest String With Swaps C++ 40.57% Medium
1203 Sort Items by Groups Respecting Dependencies C++ 44.89% Hard
1207 Unique Number of Occurrences C++ 73.12% Easy
1208 Get Equal Substrings Within Budget C++ 35.59% Medium
1209 Remove All Adjacent Duplicates in String II C++ 58.20% Medium
1210 Minimum Moves to Reach Target with Rotations C++ 43.14% Hard
1221 Split a String in Balanced Strings C++ 79.48% Easy
1222 Queens That Can Attack the King C++ 69.29% Medium