You are on page 1of 5

New Year Gift - Curated List of Top 75 LeetCode Questions to Save

Your Time

New Year Gift to every fellow time-constrained engineer out there looking for a
job, here's a list of the best LeetCode questions that teach you core concepts and
techniques for each category/type of problems! Many other LeetCode questions
are a mash of the techniques from these individual questions. I used this list in my
last job hunt to only do the important questions.

Good luck and Happy New Year!

Array

- 1. Two Sum - https://leetcode.com/problems/two-sum/


- 2. Best Time to Buy and Sell Stock - https://leetcode.com/problems/best-time-
to-buy-and-sell-stock/
- 3. Contains Duplicate - https://leetcode.com/problems/contains-duplicate/
- 4. Product of Array Except Self - https://leetcode.com/problems/product-of-
array-except-self/
- 5. Maximum Subarray - https://leetcode.com/problems/maximum-subarray/
- 6. Maximum Product Subarray - https://leetcode.com/problems/maximum-
product-subarray/
- 7. Find Minimum in Rotated Sorted Array - https://leetcode.com/problems/find-
minimum-in-rotated-sorted-array/
- 8. Search in Rotated Sorted Array - https://leetcode.com/problems/search-in-
rotated-sorted-array/
- 9. 3Sum - https://leetcode.com/problems/3sum/
- 10. Container With Most Water - https://leetcode.com/problems/container-with-
most-water/

---

Binary

- 11. Sum of Two Integers - https://leetcode.com/problems/sum-of-two-integers/


- 12. Number of 1 Bits - https://leetcode.com/problems/number-of-1-bits/
- 13. Counting Bits - https://leetcode.com/problems/counting-bits/
- 14. Missing Number - https://leetcode.com/problems/missing-number/
- 15. Reverse Bits - https://leetcode.com/problems/reverse-bits/

---
Dynamic Programming

- 16. Climbing Stairs - https://leetcode.com/problems/climbing-stairs/


- 17. Coin Change - https://leetcode.com/problems/coin-change/
- 18. Longest Increasing Subsequence - https://leetcode.com/problems/longest-
increasing-subsequence/
- 19. Longest Common Subsequence -
- 20. Word Break Problem - https://leetcode.com/problems/word-break/
- 21. Combination Sum - https://leetcode.com/problems/combination-sum-iv/
- 22. House Robber - https://leetcode.com/problems/house-robber/
- 23. House Robber II - https://leetcode.com/problems/house-robber-ii/
- 24. Decode Ways - https://leetcode.com/problems/decode-ways/
- 25. Unique Paths - https://leetcode.com/problems/unique-paths/
- 26. Jump Game - https://leetcode.com/problems/jump-game/

---

Graph

- 27. Clone Graph - https://leetcode.com/problems/clone-graph/


- 28. Course Schedule - https://leetcode.com/problems/course-schedule/
- 29. Pacific Atlantic Water Flow - https://leetcode.com/problems/pacific-atlantic-
water-flow/
- 30. Number of Islands - https://leetcode.com/problems/number-of-islands/
- 31. Longest Consecutive Sequence - https://leetcode.com/problems/longest-
consecutive-sequence/
- 32. Alien Dictionary (Leetcode Premium) - https://leetcode.com/problems/alien-
dictionary/
- 33. Graph Valid Tree (Leetcode Premium) - https://leetcode.com/problems/
graph-valid-tree/
- 34. Number of Connected Components in an Undirected Graph (Leetcode
Premium) - https://leetcode.com/problems/number-of-connected-components-in-
an-undirected-graph/

---

Interval

- 35. Insert Interval - https://leetcode.com/problems/insert-interval/


- 36. Merge Intervals - https://leetcode.com/problems/merge-intervals/
- 37. Non-overlapping Intervals - https://leetcode.com/problems/non-overlapping-
intervals/
- 38. Meeting Rooms (Leetcode Premium) - https://leetcode.com/problems/
meeting-rooms/
- 39. Meeting Rooms II (Leetcode Premium) - https://leetcode.com/problems/
meeting-rooms-ii/

---

Linked List

- 40. Reverse a Linked List - https://leetcode.com/problems/reverse-linked-list/


- 41. Detect Cycle in a Linked List - https://leetcode.com/problems/linked-list-
cycle/
- 42. Merge Two Sorted Lists - https://leetcode.com/problems/merge-two-sorted-
lists/
- 43. Merge K Sorted Lists - https://leetcode.com/problems/merge-k-sorted-lists/
- 44. Remove Nth Node From End Of List - https://leetcode.com/problems/
remove-nth-node-from-end-of-list/
- 45. Reorder List - https://leetcode.com/problems/reorder-list/

---

Matrix

- 46. Set Matrix Zeroes - https://leetcode.com/problems/set-matrix-zeroes/


- 47. Spiral Matrix - https://leetcode.com/problems/spiral-matrix/
- 48. Rotate Image - https://leetcode.com/problems/rotate-image/
- 49. Word Search - https://leetcode.com/problems/word-search/

---

String

- 50. Longest Substring Without Repeating Characters - https://leetcode.com/


problems/longest-substring-without-repeating-characters/
- 51. Longest Repeating Character Replacement - https://leetcode.com/problems/
longest-repeating-character-replacement/
- 52. Minimum Window Substring - https://leetcode.com/problems/minimum-
window-substring/
- 53. Valid Anagram - https://leetcode.com/problems/valid-anagram/
- 54. Group Anagrams - https://leetcode.com/problems/group-anagrams/
- 55. Valid Parentheses - https://leetcode.com/problems/valid-parentheses/
- 56. Valid Palindrome - https://leetcode.com/problems/valid-palindrome/
- 57. Longest Palindromic Substring - https://leetcode.com/problems/longest-
palindromic-substring/
- 58. Palindromic Substrings - https://leetcode.com/problems/palindromic-
substrings/
- 59. Encode and Decode Strings (Leetcode Premium) - https://leetcode.com/
problems/encode-and-decode-strings/

---

Tree

- 60. Maximum Depth of Binary Tree - https://leetcode.com/problems/maximum-


depth-of-binary-tree/
- 61. Same Tree - https://leetcode.com/problems/same-tree/
- 62. Invert/Flip Binary Tree - https://leetcode.com/problems/invert-binary-tree/
- 63. Binary Tree Maximum Path Sum - https://leetcode.com/problems/binary-
tree-maximum-path-sum/
- 64. Binary Tree Level Order Traversal - https://leetcode.com/problems/binary-
tree-level-order-traversal/
- 65. Serialize and Deserialize Binary Tree - https://leetcode.com/problems/
serialize-and-deserialize-binary-tree/
- 66. Subtree of Another Tree - https://leetcode.com/problems/subtree-of-
another-tree/
- 67. Construct Binary Tree from Preorder and Inorder Traversal - https://
leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-
traversal/
- 68. Validate Binary Search Tree - https://leetcode.com/problems/validate-binary-
search-tree/
- 69. Kth Smallest Element in a BST - https://leetcode.com/problems/kth-smallest-
element-in-a-bst/
- 70. Lowest Common Ancestor of BST - https://leetcode.com/problems/lowest-
common-ancestor-of-a-binary-search-tree/
- 71. Implement Trie (Prefix Tree) - https://leetcode.com/problems/implement-trie-
prefix-tree/
- 72. Add and Search Word - https://leetcode.com/problems/add-and-search-
word-data-structure-design/
- 73. Word Search II - https://leetcode.com/problems/word-search-ii/

---

Heap

- 74. Merge K Sorted Lists - https://leetcode.com/problems/merge-k-sorted-lists/


- 75. Top K Frequent Elements - https://leetcode.com/problems/top-k-frequent-
elements/
- 76. Find Median from Data Stream - https://leetcode.com/problems/find-median-
from-data-stream/

You might also like