| 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 | Find the Index of the First Occurrence in a String |
| 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 |
| 53 | Maximum Subarray |
| 54 | Spiral Matrix |
| 55 | Jump Game |
| 56 | Merge Intervals |
| 57 | Insert Interval |
| 58 | Length of Last Word |
| 60 | Permutation Sequence |
| 61 | Rotate List |
| 62 | Unique Paths |
| 63 | Unique Paths II |
| 64 | Minimum Path Sum |
| 66 | Plus One |
| 67 | Add Binary |
| 68 | Text Justification |
| 69 | Sqrt(x) |
| 70 | Climbing Stairs |
| 72 | Edit Distance |
| 73 | Set Matrix Zeroes |
| 74 | Search a 2D Matrix |
| 75 | Sort Colors |
| 77 | Combinations |
| 78 | Subsets |
| 79 | Word Search |
| 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 |
| 86 | Partition List |
| 88 | Merge Sorted Array |
| 89 | Gray Code |
| 90 | Subsets II |
| 91 | Decode Ways |
| 92 | Reverse Linked List II |
| 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 |
| 110 | Balanced Binary Tree |
| 111 | Minimum Depth of Binary Tree |
| 112 | Path Sum |
| 113 | Path Sum II |
| 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 |
| 133 | Clone Graph |
| 134 | Gas Station |
| 135 | Candy |
| 136 | Single Number |
| 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 |
| 145 | Binary Tree Postorder Traversal |
| 146 | LRU Cache |
| 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 |
| 155 | Min Stack |
| 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 |
| 162 | Find Peak Element |
| 164 | Maximum Gap |
| 167 | Two Sum II - Input Array Is Sorted |
| 168 | Excel Sheet Column Title |
| 169 | Majority Element |
| 172 | Factorial Trailing Zeroes |
| 173 | Binary Search Tree Iterator |
| 174 | Dungeon Game |
| 175 | Combine Two Tables |
| 177 | Nth Highest Salary |
| 179 | Largest Number |
| 181 | Employees Earning More Than Their Managers |
| 183 | Customers Who Never Order |
| 188 | Best Time to Buy and Sell Stock IV |
| 189 | Rotate Array |
| 191 | Number of 1 Bits |
| 197 | Rising Temperature |
| 198 | House Robber |
| 199 | Binary Tree Right Side View |
| 200 | Number of Islands |
| 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 |
| 215 | Kth Largest Element in an Array |
| 217 | Contains Duplicate |
| 218 | The Skyline Problem |
| 219 | Contains Duplicate II |
| 222 | Count Complete Tree Nodes |
| 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 |
| 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 |
| 252 | Meeting Rooms |
| 253 | Meeting Rooms II |
| 257 | Binary Tree Paths |
| 258 | Add Digits |
| 260 | Single Number III |
| 261 | Graph Valid Tree |
| 262 | Trips and Users |
| 263 | Ugly Number |
| 264 | Ugly Number II |
| 266 | Palindrome Permutation |
| 268 | Missing Number |
| 269 | Alien Dictionary |
| 274 | H-Index |
| 278 | First Bad Version |
| 279 | Perfect Squares |
| 283 | Move Zeroes |
| 287 | Find the Duplicate Number |
| 289 | Game of Life |
| 295 | Find Median from Data Stream |
| 297 | Serialize and Deserialize Binary Tree |
| 300 | Longest Increasing Subsequence |
| 301 | Remove Invalid Parentheses |
| 308 | Range Sum Query 2D - Mutable |
| 309 | Best Time to Buy and Sell Stock with Cooldown |
| 311 | Sparse Matrix Multiplication |
| 312 | Burst Balloons |
| 314 | Binary Tree Vertical Order Traversal |
| 315 | Count of Smaller Numbers After Self |
| 322 | Coin Change |
| 326 | Power of Three |
| 328 | Odd Even Linked List |
| 332 | Reconstruct Itinerary |
| 333 | Largest BST Subtree |
| 334 | Increasing Triplet Subsequence |
| 338 | Counting Bits |
| 341 | Flatten Nested List Iterator |
| 343 | Integer Break |
| 345 | Reverse Vowels of a String |
| 347 | Top K Frequent Elements |
| 349 | Intersection of Two Arrays |
| 350 | Intersection of Two Arrays II |
| 353 | Design Snake Game |
| 354 | Russian Doll Envelopes |
| 359 | Logger Rate Limiter |
| 362 | Design Hit Counter |
| 366 | Find Leaves of Binary Tree |
| 368 | Largest Divisible Subset |
| 371 | Sum of Two Integers |
| 373 | Find K Pairs with Smallest Sums |
| 374 | Guess Number Higher or Lower |
| 378 | Kth Smallest Element in a Sorted Matrix |
| 380 | Insert Delete GetRandom O(1) |
| 381 | Insert Delete GetRandom O(1) - Duplicates allowed |
| 384 | Shuffle an Array |
| 386 | Lexicographical Numbers |
| 387 | First Unique Character in a String |
| 389 | Find the Difference |
| 390 | Elimination Game |
| 392 | Is Subsequence |
| 394 | Decode String |
| 397 | Integer Replacement |
| 399 | Evaluate Division |
| 400 | Nth Digit |
| 402 | Remove K Digits |
| 404 | Sum of Left Leaves |
| 405 | Convert a Number to Hexadecimal |
| 410 | Split Array Largest Sum |
| 412 | Fizz Buzz |
| 413 | Arithmetic Slices |
| 415 | Add Strings |
| 416 | Partition Equal Subset Sum |
| 417 | Pacific Atlantic Water Flow |
| 420 | Strong Password Checker |
| 421 | Maximum XOR of Two Numbers in an Array |
| 424 | Longest Repeating Character Replacement |
| 433 | Minimum Genetic Mutation |
| 435 | Non-overlapping Intervals |
| 437 | Path Sum III |
| 441 | Arranging Coins |
| 443 | String Compression |
| 445 | Add Two Numbers II |
| 447 | Number of Boomerangs |
| 450 | Delete Node in a BST |
| 451 | Sort Characters By Frequency |
| 454 | 4Sum II |
| 458 | Poor Pigs |
| 460 | LFU Cache |
| 463 | Island Perimeter |
| 490 | The Maze |
| 492 | Construct the Rectangle |
| 493 | Reverse Pairs |
| 494 | Target Sum |
| 496 | Next Greater Element I |
| 501 | Find Mode in Binary Search Tree |
| 503 | Next Greater Element II |
| 506 | Relative Ranks |
| 511 | All Paths from Source Lead to Destination |
| 515 | Find Largest Value in Each Tree Row |
| 516 | Longest Palindromic Subsequence |
| 518 | Coin Change II |
| 523 | Continuous Subarray Sum |
| 524 | Longest Word in Dictionary through Deleting |
| 528 | Swapping Nodes in a Linked List |
| 529 | Minesweeper |
| 532 | K-diff Pairs in an Array |
| 535 | Encode and Decode TinyURL |
| 539 | Minimum Time Difference |
| 540 | Single Element in a Sorted Array |
| 542 | 01 Matrix |
| 543 | Diameter of Binary Tree |
| 545 | Boundary of Binary Tree |
| 547 | Number of Provinces |
| 550 | Shortest Path to Get Food |
| 556 | Next Greater Element III |
| 557 | Reverse Words in a String III |
| 560 | Subarray Sum Equals K |
| 566 | Reshape the Matrix |
| 567 | Permutation in String |
| 570 | Managers with at Least 5 Direct Reports |
| 582 | Kill Process |
| 583 | Delete Operation for Two Strings |
| 588 | Design In-Memory File System |
| 595 | Big Countries |
| 605 | Can Place Flowers |
| 611 | Valid Triangle Number |
| 626 | Exchange Seats |
| 628 | Maximum Product of Three Numbers |
| 632 | Smallest Range Covering Elements from K Lists |
| 633 | Sum of Square Numbers |
| 636 | Exclusive Time of Functions |
| 642 | Design Search Autocomplete System |
| 647 | Palindromic Substrings |
| 652 | Find Duplicate Subtrees |
| 653 | Two Sum IV - Input is a BST |
| 658 | Find K Closest Elements |
| 659 | Split Array into Consecutive Subsequences |
| 661 | Image Smoother |
| 662 | Maximum Width of Binary Tree |
| 665 | Non-decreasing Array |
| 669 | Trim a Binary Search Tree |
| 676 | Implement Magic Dictionary |
| 678 | Valid Parenthesis String |
| 680 | Valid Palindrome II |
| 684 | Redundant Connection |
| 692 | Top K Frequent Words |
| 694 | Number of Distinct Islands |
| 695 | Max Area of Island |
| 697 | Degree of an Array |
| 698 | Partition to K Equal Sum Subsets |
| 714 | Best Time to Buy and Sell Stock with Transaction Fee |
| 715 | Range Module |
| 716 | Max Stack |
| 718 | Maximum Length of Repeated Subarray |
| 721 | Accounts Merge |
| 723 | Candy Crush |
| 724 | Find Pivot Index |
| 729 | My Calendar I |
| 733 | Flood Fill |
| 739 | Daily Temperatures |
| 740 | Delete and Earn |
| 744 | Network Delay Time |
| 745 | Find Smallest Letter Greater Than Target |
| 747 | Min Cost Climbing Stairs |
| 750 | Contain Virus |
| 764 | N-ary Tree Level Order Traversal |
| 765 | Serialize and Deserialize N-ary Tree |
| 766 | Flatten a Multilevel Doubly Linked List |
| 777 | Toeplitz Matrix |
| 778 | Reorganize String |
| 779 | Max Chunks To Make Sorted II |
| 780 | Max Chunks To Make Sorted |
| 792 | Binary Search |
| 795 | K-th Symbol in Grammar |
| 796 | Reaching Points |
| 803 | Cheapest Flights Within K Stops |
| 807 | Custom Sort String |
| 812 | Rotate String |
| 813 | All Paths From Source to Target |
| 820 | Find Eventual Safe States |
| 826 | Soup Servings |
| 843 | Binary Trees With Factors |
| 854 | Making A Large Island |
| 855 | Count Unique Characters of All Substrings of a Given String |
| 860 | Design Circular Queue |
| 864 | Image Overlap |
| 873 | Guess the Word |
| 874 | Backspace String Compare |
| 875 | Longest Mountain in Array |
| 877 | Shortest Path Visiting All Nodes |
| 878 | Shifting Letters |
| 879 | Maximize Distance to Closest Person |
| 882 | Peak Index in a Mountain Array |
| 883 | Car Fleet |
| 886 | Score of Parentheses |
| 888 | Mirror Reflection |
| 889 | Buddy Strings |
| 890 | Lemonade Change |
| 893 | All Nodes Distance K in Binary Tree |
| 898 | Transpose Matrix |
| 907 | Koko Eating Bananas |
| 908 | Middle of the Linked List |
| 917 | Boats to Save People |
| 922 | Possible Bipartition |
| 924 | Fair Candy Swap |
| 930 | All Possible Full Binary Trees |
| 931 | Maximum Frequency Stack |
| 937 | Online Stock Span |
| 944 | Smallest Range I |
| 948 | Sort an Array |
| 954 | Maximum Sum Circular Subarray |
| 961 | Long Pressed Name |
| 967 | Minimum Falling Path Sum |
| 969 | Number of Recent Calls |
| 971 | Shortest Bridge |
| 972 | Knight Dialer |
| 985 | Bag of Tokens |
| 1007 | Numbers With Same Consecutive Differences |
| 1013 | Fibonacci Number |
| 1019 | Squares of a Sorted Array |
| 1023 | Time Based Key-Value Store |
| 1025 | Minimum Cost For Tickets |
| 1028 | Interval List Intersections |
| 1029 | Vertical Order Traversal of a Binary Tree |
| 1033 | Broken Calculator |
| 1035 | Cousins in Binary Tree |
| 1036 | Rotting Oranges |
| 1039 | Find the Town Judge |
| 1046 | Max Consecutive Ones III |
| 1050 | Construct Binary Search Tree from Preorder Traversal |
| 1055 | Pairs of Songs With Total Durations Divisible by 60 |
| 1056 | Capacity To Ship Packages Within D Days |
| 1073 | Number of Enclaves |
| 1095 | Two City Scheduling |
| 1105 | Uncrossed Lines |
| 1119 | Robot Bounded In Circle |
| 1127 | Last Stone Weight |
| 1128 | Remove All Adjacent Duplicates In String |
| 1129 | Longest String Chain |
| 1130 | Last Stone Weight II |
| 1165 | Meeting Scheduler |
| 1170 | Shortest Common Supersequence |
| 1171 | Shortest Path in Binary Matrix |
| 1176 | Design A Leaderboard |
| 1179 | Game Play Analysis I |
| 1184 | Car Pooling |
| 1185 | Find in Mountain Array |
| 1194 | Path In Zigzag Labelled Binary Tree |
| 1196 | Filling Bookcase Shelves |
| 1212 | Sequential Digits |
| 1228 | Minimum Cost Tree From Leaf Values |
| 1229 | Shortest Path with Alternating Colors |
| 1233 | Number of Ships in a Rectangle |
| 1240 | Stone Game II |
| 1245 | User Activity for the Past 30 Days I |
| 1250 | Longest Common Subsequence |
| 1253 | Sort the Matrix Diagonally |
| 1255 | Reverse Subarray To Maximize Array Value |
| 1256 | Rank Transform of an Array |
| 1258 | Article Views I |
| 1263 | Number of Dice Rolls With Target Sum |
| 1271 | Web Crawler |
| 1272 | Invalid Transactions |
| 1300 | Critical Connections in a Network |
| 1306 | Minimum Absolute Difference |
| 1319 | Unique Number of Occurrences |
| 1320 | Remove All Adjacent Duplicates in String II |
| 1371 | Minimum Remove to Make Valid Parentheses |
| 1382 | Calculate Amount Paid in Taxes |
| 1388 | Greatest Sum Divisible by Three |
| 1414 | Shortest Path in a Grid with Obstacles Elimination |
| 1427 | All Elements in Two Binary Search Trees |
| 1451 | Minimum Number of Taps to Open to Water a Garden |
| 1454 | Remove Palindromic Subsequences |
| 1460 | Number of Substrings Containing All Three Characters |
| 1464 | Reduce Array Size to The Half |
| 1465 | Maximum Product of Splitted Binary Tree |
| 1469 | Minimum Number of Steps to Make Two Strings Anagram |
| 1476 | Count Negative Numbers in a Sorted Matrix |
| 1479 | Construct Target Array With Multiple Sums |
| 1488 | Sort Integers by The Power Value |
| 1492 | Time Needed to Inform All Employees |
| 1503 | Reducing Dishes |
| 1512 | Design Underground System |
| 1537 | Maximum Score After Splitting a String |
| 1538 | Maximum Points You Can Obtain from Cards |
| 1569 | Max Dot Product of Two Subsequences |
| 1571 | Allocate Mailboxes |
| 1576 | Reorder Routes to Make All Paths Lead to the City Zero |
| 1580 | Shuffle the Array |
| 1582 | Design Browser History |
| 1603 | Running Sum of 1d Array |
| 1605 | Minimum Number of Days to Make m Bouquets |
| 1617 | Stone Game IV |
| 1621 | Number of Subsequences That Satisfy the Given Sum Condition |
| 1646 | Kth Missing Positive Number |
| 1650 | Find Root of N-Ary Tree |
| 1669 | Minimum Cost to Cut a Stick |
| 1676 | Minimum Number of Days to Eat N Oranges |
| 1700 | Minimum Time to Make Rope Colorful |
| 1704 | Special Positions in a Binary Matrix |
| 1705 | Count Unhappy Friends |
| 1708 | Design Parking System |
| 1713 | Dot Product of Two Sparse Vectors |
| 1731 | Even Odd Tree |
| 1737 | Maximum Nesting Depth of the Parentheses |
| 1741 | Sort Array by Increasing Frequency |
| 1762 | Furthest Building You Can Reach |
| 1770 | Minimum Deletions to Make Character Frequencies Unique |
| 1775 | Design an Ordered Stream |
| 1782 | Smallest String With A Given Numeric Value |
| 1798 | Max Number of K-Sum Pairs |
| 1801 | Average Time of Process per Machine |
| 1814 | Jump Game VI |
| 1829 | Maximum Units on a Truck |
| 1838 | Number of Distinct Substrings in a String |
| 1903 | Design Most Recently Used Queue |
| 1906 | Maximize Score After N Operations |
| 1908 | Recyclable and Low Fat Products |
| 1915 | Check if One String Swap Can Make Strings Equal |
| 1929 | Maximum Value at a Given Index in a Bounded Array |
| 1944 | Truncate Sentence |
| 1948 | Rearrange Products Table |
| 1951 | Find the Winner of the Circular Game |
| 1960 | Check if the Sentence Is Pangram |
| 1969 | Maximum Number of Accepted Invitations |
| 1970 | Sorting the Sentence |
| 1983 | Maximum Population Year |
| 1992 | Sort Linked List Already Sorted Using Absolute Values |
| 2005 | Check if All the Integers in a Range Are Covered |
| 2015 | Determine Whether Matrix Can Be Obtained By Rotation |
| 2042 | Maximum Product Difference Between Two Pairs |
| 2090 | Number of Ways to Arrive at Destination |
| 2091 | Number of Ways to Separate Numbers |
| 2137 | Final Value of Variable After Performing Operations |
| 2161 | Stock Price Fluctuation |
| 2213 | Find All People With Secret |
| 2246 | Maximum Employees to Be Invited to a Meeting |
| 2271 | Rearrange Array Elements by Sign |
| 2283 | Sort Even and Odd Indices Independently |
| 2285 | Design Bitset |
| 2286 | Minimum Time to Remove All Cars Containing Illegal Goods |
| 2331 | Intersection of Multiple Arrays |
| 2334 | Number of Flowers in Full Bloom |
| 2357 | Count Integers in Intervals |
| 2360 | Substring With Largest Variance |
| 2383 | Add Two Integers |
| 2532 | Remove Letter To Equalize Frequency |
| 2554 | Minimum Total Distance Traveled |
| 2598 | Shortest Distance to Target String in a Circular Array |
| 2614 | Maximum Count of Positive Integer and Negative Integer |
| 2646 | Kth Largest Sum in a Binary Tree |
| 2714 | Left and Right Sum Differences |
| 2733 | Sleep |
| 2739 | Minimize the Total Price of the Trips |
| 2754 | Maximum Strength of a Group |
| 2755 | Extra Characters in a String |