2 minute read

Easy

  1. 1. Two Sum
  2. 13. Roman to Integer
  3. 14. Longest Common Prefix
  4. 20. Valid Parentheses
  5. 21. Merge Two Sorted Lists
  6. 26. Remove Duplicates from Sorted Array
  7. 66. Plus One
  8. 69. Sqrt(x)
  9. 70. Climbing Stairs
  10. 88. Merge Sorted Array
  11. 94. Binary Tree Inorder Traversal
  12. 101. Symmetric Tree
  13. 104. Maximum Depth of Binary Tree
  14. 108. Convert Sorted Array to Binary Search Tree
  15. 118. Pascal’s Triangle
  16. 121. Best Time to Buy and Sell Stock
  17. 125. Valid Palindrome
  18. 136. Single Number
  19. 141. Linked List Cycle
  20. 160. Intersection of Two Linked Lists
  21. 169. Majority Element
  22. 171. Excel Sheet Column Number
  23. 190. Reverse Bits
  24. 191. Number of 1 Bits
  25. 202. Happy Number
  26. 206. Reverse Linked List
  27. 217. Contains Duplicate
  28. 234. Palindrome Linked List
  29. 242. Valid Anagram
  30. 268. Missing Number
  31. 283. Move Zeroes
  32. 326. Power of Three
  33. 344. Reverse String
  34. 350. Intersection of Two Arrays II
  35. 387. First Unique Character in a String
  36. 412. Fizz Buzz

Medium

  1. 2. Add Two Numbers
  2. 3. Longest Substring Without Repeating Characters
  3. 5. Longest Palindromic Substring
  4. 7. Reverse Integer
  5. 8. String to Integer (atoi)
  6. 11. Container With Most Water
  7. 17. Letter Combinations of a Phone Number
  8. 15. 3Sum
  9. 19. Remove Nth Node From End of List
  10. 22. Generate Parentheses
  11. 28. Find the Index of the First Occurrence in a String
  12. 29. Divide Two Integers
  13. 33. Search in Rotated Sorted Array
  14. 34. Find First and Last Position of Element in Sorted Array
  15. 36. Valid Sudoku
  16. 38. Count and Say
  17. 46. Permutations
  18. 48. Rotate Image
  19. 49. Group Anagrams
  20. 50. Pow(x, n)
  21. 53. Maximum Subarray
  22. 54. Spiral Matrix
  23. 55. Jump Game
  24. 56. Merge Intervals
  25. 62. Unique Paths
  26. 73. Set Matrix Zeroes
  27. 75. Sort Colors
  28. 78. Subsets
  29. 79. Word Search
  30. 91. Decode Ways
  31. 98. Validate Binary Search Tree
  32. 102. Binary Tree Level Order Traversal
  33. 103. Binary Tree Zigzag Level Order Traversal
  34. 105. Construct Binary Tree from Preorder and Inorder Traversal
  35. 116. Populating Next Right Pointers in Each Node
  36. 122. Best Time to Buy and Sell Stock II
  37. 128. Longest Consecutive Sequence
  38. 130. Surrounded Regions
  39. 131. Palindrome Partitioning
  40. 134. Gas Station
  41. 138. Copy List with Random Pointer
  42. 139. Word Break
  43. 146. LRU Cache
  44. 150. Evaluate Reverse Polish Notation
  45. 152. Maximum Product Subarray
  46. 155. Min Stack
  47. 162. Find Peak Element
  48. 166. Fraction to Recurring Decimal
  49. 172. Factorial Trailing Zeroes
  50. 179. Largest Number
  51. 189. Rotate Array
  52. 198. House Robber
  53. 200. Number of Islands
  54. 204. Count Primes
  55. 207. Course Schedule
  56. 208. Implement Trie (Prefix Tree)
  57. 210. Course Schedule II
  58. 227. Basic Calculator II
  59. 230. Kth Smallest Element in a BST
  60. 236. Lowest Common Ancestor of a Binary Tree
  61. 237. Delete Node in a Linked List
  62. 238. Product of Array Except Self
  63. 240. Search a 2D Matrix II
  64. 279. Perfect Squares
  65. 287. Find the Duplicate Number
  66. 289. Game of Life
  67. 322. Coin Change
  68. 334. Increasing Triplet Subsequence
  69. 371. Sum of Two Integers
  70. 378. Kth Smallest Element in a Sorted Matrix
  71. 395. Longest Substring with At Least K Repeating Characters
  72. 454. 4Sum II

Categories:

Updated:

Leave a comment