Master the most frequently asked coding interview questions from top tech companies
Introduction
Landing a job at a top tech company requires solid preparation. This comprehensive guide covers the Top 150 LeetCode problems that are most frequently asked in technical interviews at companies like Google, Amazon, Microsoft, Meta (Facebook), Apple, and many others.
Whether you're preparing for your first technical interview or brushing up your skills, this curated list will help you focus on what matters most. Each problem is tagged with the companies that have asked it, so you can tailor your preparation to your target employers.
π Array & String Problems
1. Two Sum
- LeetCode Link: #1 Two Sum
- Companies: Amazon, Google, Meta, Apple, Microsoft, Adobe, Bloomberg, Uber, Oracle, Yahoo
2. Merge Sorted Array
- LeetCode Link: #88 Merge Sorted Array
- Companies: Meta, Amazon, Microsoft, Apple, Bloomberg, Adobe, Oracle, Expedia, SAP
3. Remove Element
- LeetCode Link: #27 Remove Element
- Companies: Google, Amazon, Bloomberg, Microsoft, Adobe
4. Remove Duplicates from Sorted Array
- LeetCode Link: #26 Remove Duplicates from Sorted Array
- Companies: Meta, Amazon, Microsoft, Bloomberg, Apple, Adobe, Google
5. Remove Duplicates from Sorted Array II
- LeetCode Link: #80 Remove Duplicates from Sorted Array II
- Companies: Meta, Amazon, Bloomberg, Microsoft
6. Majority Element
- LeetCode Link: #169 Majority Element
- Companies: Amazon, Google, Meta, Apple, Adobe, Microsoft, Uber, Oracle
7. Rotate Array
- LeetCode Link: #189 Rotate Array
- Companies: Amazon, Microsoft, Meta, Apple, Bloomberg, Adobe, Google
8. Best Time to Buy and Sell Stock
- LeetCode Link: #121 Best Time to Buy and Sell Stock
- Companies: Amazon, Meta, Google, Microsoft, Bloomberg, Apple, Adobe, Uber, Goldman Sachs
9. Best Time to Buy and Sell Stock II
- LeetCode Link: #122 Best Time to Buy and Sell Stock II
- Companies: Amazon, Bloomberg, Meta, Microsoft, Google
10. Jump Game
- LeetCode Link: #55 Jump Game
- Companies: Amazon, Google, Meta, Microsoft, Apple, Adobe, Bloomberg
11. Jump Game II
- LeetCode Link: #45 Jump Game II
- Companies: Amazon, Meta, Google, Microsoft, Adobe, Apple
12. H-Index
- LeetCode Link: #274 H-Index
- Companies: Meta, Google, Amazon, Bloomberg
13. Insert Delete GetRandom O(1)
- LeetCode Link: #380 Insert Delete GetRandom O(1)
- Companies: Meta, Amazon, Google, Microsoft, Uber, Apple, Bloomberg, Adobe
14. Product of Array Except Self
- LeetCode Link: #238 Product of Array Except Self
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Uber, Bloomberg
15. Gas Station
- LeetCode Link: #134 Gas Station
- Companies: Amazon, Google, Meta, Microsoft
16. Candy
- LeetCode Link: #135 Candy
- Companies: Amazon, Google, Microsoft, Meta
17. Trapping Rain Water
- LeetCode Link: #42 Trapping Rain Water
- Companies: Amazon, Meta, Google, Microsoft, Apple, Bloomberg, Adobe, Uber
18. Roman to Integer
- LeetCode Link: #13 Roman to Integer
- Companies: Amazon, Meta, Microsoft, Google, Apple, Adobe, Bloomberg, Yahoo
19. Integer to Roman
- LeetCode Link: #12 Integer to Roman
- Companies: Amazon, Meta, Microsoft, Google, Adobe, Bloomberg
20. Length of Last Word
- LeetCode Link: #58 Length of Last Word
- Companies: Amazon, Apple, Microsoft, Meta
21. Longest Common Prefix
- LeetCode Link: #14 Longest Common Prefix
- Companies: Amazon, Google, Meta, Microsoft, Apple, Adobe, Bloomberg
22. Reverse Words in a String
- LeetCode Link: #151 Reverse Words in a String
- Companies: Amazon, Microsoft, Meta, Apple, Bloomberg, Adobe
23. Zigzag Conversion
- LeetCode Link: #6 Zigzag Conversion
- Companies: Amazon, Meta, Google, Microsoft
24. Find the Index of the First Occurrence in a String
- LeetCode Link: #28 Find the Index of the First Occurrence in a String
- Companies: Meta, Amazon, Microsoft, Google, Apple, Adobe
25. Text Justification
- LeetCode Link: #68 Text Justification
- Companies: Amazon, Meta, Google, Microsoft, Adobe, Bloomberg
π Two Pointers
26. Valid Palindrome
- LeetCode Link: #125 Valid Palindrome
- Companies: Amazon, Meta, Microsoft, Google, Apple, Adobe, Bloomberg
27. Is Subsequence
- LeetCode Link: #392 Is Subsequence
- Companies: Amazon, Google, Microsoft, Meta, Bloomberg
28. Two Sum II - Input Array Is Sorted
- LeetCode Link: #167 Two Sum II - Input Array Is Sorted
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe
29. Container With Most Water
- LeetCode Link: #11 Container With Most Water
- Companies: Amazon, Meta, Google, Microsoft, Apple, Bloomberg, Adobe, Goldman Sachs
30. 3Sum
- LeetCode Link: #15 3Sum
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber, Oracle
π Sliding Window
31. Minimum Size Subarray Sum
- LeetCode Link: #209 Minimum Size Subarray Sum
- Companies: Amazon, Meta, Google, Microsoft, Bloomberg
32. Longest Substring Without Repeating Characters
- LeetCode Link: #3 Longest Substring Without Repeating Characters
- Companies: Amazon, Meta, Google, Microsoft, Apple, Bloomberg, Adobe, Uber, Oracle
33. Substring with Concatenation of All Words
- LeetCode Link: #30 Substring with Concatenation of All Words
- Companies: Amazon, Google, Meta, Microsoft
34. Minimum Window Substring
- LeetCode Link: #76 Minimum Window Substring
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Uber, Bloomberg
π’ Matrix
35. Valid Sudoku
- LeetCode Link: #36 Valid Sudoku
- Companies: Amazon, Google, Meta, Microsoft, Apple, Adobe, Bloomberg
36. Spiral Matrix
- LeetCode Link: #54 Spiral Matrix
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
37. Rotate Image
- LeetCode Link: #48 Rotate Image
- Companies: Amazon, Meta, Microsoft, Google, Apple, Adobe, Bloomberg
38. Set Matrix Zeroes
- LeetCode Link: #73 Set Matrix Zeroes
- Companies: Amazon, Meta, Microsoft, Google, Apple, Adobe, Bloomberg
39. Game of Life
- LeetCode Link: #289 Game of Life
- Companies: Amazon, Google, Meta, Microsoft, Adobe
π HashMap
40. Ransom Note
- LeetCode Link: #383 Ransom Note
- Companies: Amazon, Meta, Microsoft, Google, Apple
41. Isomorphic Strings
- LeetCode Link: #205 Isomorphic Strings
- Companies: Amazon, Meta, Google, Microsoft, Bloomberg
42. Word Pattern
- LeetCode Link: #290 Word Pattern
- Companies: Amazon, Google, Meta, Microsoft, Uber
43. Valid Anagram
- LeetCode Link: #242 Valid Anagram
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
44. Group Anagrams
- LeetCode Link: #49 Group Anagrams
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
45. Two Sum
- LeetCode Link: #1 Two Sum
- Companies: Amazon, Google, Meta, Apple, Microsoft, Adobe, Bloomberg, Uber, Oracle, Yahoo
46. Happy Number
- LeetCode Link: #202 Happy Number
- Companies: Amazon, Google, Meta, Microsoft, Apple, Adobe
47. Contains Duplicate II
- LeetCode Link: #219 Contains Duplicate II
- Companies: Amazon, Meta, Google, Microsoft, Bloomberg
48. Longest Consecutive Sequence
- LeetCode Link: #128 Longest Consecutive Sequence
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
π Intervals
49. Summary Ranges
- LeetCode Link: #228 Summary Ranges
- Companies: Amazon, Google, Meta, Microsoft
50. Merge Intervals
- LeetCode Link: #56 Merge Intervals
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber, Oracle
51. Insert Interval
- LeetCode Link: #57 Insert Interval
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
52. Minimum Number of Arrows to Burst Balloons
- LeetCode Link: #452 Minimum Number of Arrows to Burst Balloons
- Companies: Amazon, Google, Meta, Microsoft, Bloomberg
π Stack
53. Valid Parentheses
- LeetCode Link: #20 Valid Parentheses
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
54. Simplify Path
- LeetCode Link: #71 Simplify Path
- Companies: Amazon, Meta, Google, Microsoft, Adobe
55. Min Stack
- LeetCode Link: #155 Min Stack
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
56. Evaluate Reverse Polish Notation
- LeetCode Link: #150 Evaluate Reverse Polish Notation
- Companies: Amazon, Meta, Google, Microsoft, Bloomberg
57. Basic Calculator
- LeetCode Link: #224 Basic Calculator
- Companies: Amazon, Google, Meta, Microsoft, Apple, Adobe, Bloomberg
π’ Linked List
58. Linked List Cycle
- LeetCode Link: #141 Linked List Cycle
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
59. Add Two Numbers
- LeetCode Link: #2 Add Two Numbers
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
60. Merge Two Sorted Lists
- LeetCode Link: #21 Merge Two Sorted Lists
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
61. Copy List with Random Pointer
- LeetCode Link: #138 Copy List with Random Pointer
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
62. Reverse Linked List II
- LeetCode Link: #92 Reverse Linked List II
- Companies: Amazon, Meta, Google, Microsoft, Adobe, Bloomberg
63. Reverse Nodes in k-Group
- LeetCode Link: #25 Reverse Nodes in k-Group
- Companies: Amazon, Meta, Google, Microsoft, Adobe
64. Remove Nth Node From End of List
- LeetCode Link: #19 Remove Nth Node From End of List
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
65. Remove Duplicates from Sorted List II
- LeetCode Link: #82 Remove Duplicates from Sorted List II
- Companies: Amazon, Meta, Microsoft, Bloomberg
66. Rotate List
- LeetCode Link: #61 Rotate List
- Companies: Amazon, Meta, Microsoft, Bloomberg
67. Partition List
- LeetCode Link: #86 Partition List
- Companies: Amazon, Microsoft, Meta, Google
68. LRU Cache
- LeetCode Link: #146 LRU Cache
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber, Oracle
π³ Binary Tree General
69. Maximum Depth of Binary Tree
- LeetCode Link: #104 Maximum Depth of Binary Tree
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
70. Same Tree
- LeetCode Link: #100 Same Tree
- Companies: Amazon, Google, Meta, Microsoft, Bloomberg
71. Invert Binary Tree
- LeetCode Link: #226 Invert Binary Tree
- Companies: Amazon, Google, Meta, Microsoft, Apple, Adobe
72. Symmetric Tree
- LeetCode Link: #101 Symmetric Tree
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
73. Construct Binary Tree from Preorder and Inorder Traversal
- LeetCode Link: #105 Construct Binary Tree from Preorder and Inorder Traversal
- Companies: Amazon, Meta, Google, Microsoft, Adobe, Bloomberg
74. Construct Binary Tree from Inorder and Postorder Traversal
- LeetCode Link: #106 Construct Binary Tree from Inorder and Postorder Traversal
- Companies: Amazon, Meta, Google, Microsoft, Adobe
75. Populating Next Right Pointers in Each Node II
- LeetCode Link: #117 Populating Next Right Pointers in Each Node II
- Companies: Amazon, Meta, Microsoft, Google, Bloomberg
76. Flatten Binary Tree to Linked List
- LeetCode Link: #114 Flatten Binary Tree to Linked List
- Companies: Amazon, Meta, Microsoft, Google, Adobe
77. Path Sum
- LeetCode Link: #112 Path Sum
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
78. Sum Root to Leaf Numbers
- LeetCode Link: #129 Sum Root to Leaf Numbers
- Companies: Amazon, Meta, Google, Microsoft, Adobe
79. Binary Tree Maximum Path Sum
- LeetCode Link: #124 Binary Tree Maximum Path Sum
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
80. Binary Search Tree Iterator
- LeetCode Link: #173 Binary Search Tree Iterator
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
81. Count Complete Tree Nodes
- LeetCode Link: #222 Count Complete Tree Nodes
- Companies: Amazon, Google, Meta, Microsoft, Adobe
82. Lowest Common Ancestor of a Binary Tree
- LeetCode Link: #236 Lowest Common Ancestor of a Binary Tree
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
π Binary Tree BFS
83. Binary Tree Right Side View
- LeetCode Link: #199 Binary Tree Right Side View
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
84. Average of Levels in Binary Tree
- LeetCode Link: #637 Average of Levels in Binary Tree
- Companies: Amazon, Meta, Google, Microsoft, Bloomberg
85. Binary Tree Level Order Traversal
- LeetCode Link: #102 Binary Tree Level Order Traversal
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
86. Binary Tree Zigzag Level Order Traversal
- LeetCode Link: #103 Binary Tree Zigzag Level Order Traversal
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
π Binary Search Tree
87. Minimum Absolute Difference in BST
- LeetCode Link: #530 Minimum Absolute Difference in BST
- Companies: Amazon, Google, Meta, Microsoft
88. Kth Smallest Element in a BST
- LeetCode Link: #230 Kth Smallest Element in a BST
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
89. Validate Binary Search Tree
- LeetCode Link: #98 Validate Binary Search Tree
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
π Graph General
90. Number of Islands
- LeetCode Link: #200 Number of Islands
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
91. Surrounded Regions
- LeetCode Link: #130 Surrounded Regions
- Companies: Amazon, Meta, Google, Microsoft, Adobe, Bloomberg
92. Clone Graph
- LeetCode Link: #133 Clone Graph
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
93. Evaluate Division
- LeetCode Link: #399 Evaluate Division
- Companies: Amazon, Google, Meta, Microsoft, Adobe
94. Course Schedule
- LeetCode Link: #207 Course Schedule
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
95. Course Schedule II
- LeetCode Link: #210 Course Schedule II
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
π Graph BFS
96. Snakes and Ladders
- LeetCode Link: #909 Snakes and Ladders
- Companies: Amazon, Google, Meta, Microsoft
97. Minimum Genetic Mutation
- LeetCode Link: #433 Minimum Genetic Mutation
- Companies: Amazon, Google, Meta, Microsoft
98. Word Ladder
- LeetCode Link: #127 Word Ladder
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
π Trie
99. Implement Trie (Prefix Tree)
- LeetCode Link: #208 Implement Trie (Prefix Tree)
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
100. Design Add and Search Words Data Structure
- LeetCode Link: #211 Design Add and Search Words Data Structure
- Companies: Amazon, Meta, Google, Microsoft, Adobe
101. Word Search II
- LeetCode Link: #212 Word Search II
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
π Backtracking
102. Letter Combinations of a Phone Number
- LeetCode Link: #17 Letter Combinations of a Phone Number
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
103. Combinations
- LeetCode Link: #77 Combinations
- Companies: Amazon, Google, Meta, Microsoft, Bloomberg
104. Permutations
- LeetCode Link: #46 Permutations
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
105. Combination Sum
- LeetCode Link: #39 Combination Sum
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
106. N-Queens II
- LeetCode Link: #52 N-Queens II
- Companies: Amazon, Google, Meta, Microsoft, Apple, Adobe
107. Generate Parentheses
- LeetCode Link: #22 Generate Parentheses
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
108. Word Search
- LeetCode Link: #79 Word Search
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
π’ Divide & Conquer
109. Convert Sorted Array to Binary Search Tree
- LeetCode Link: #108 Convert Sorted Array to Binary Search Tree
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe
110. Sort List
- LeetCode Link: #148 Sort List
- Companies: Amazon, Meta, Google, Microsoft, Adobe, Bloomberg
111. Construct Quad Tree
- LeetCode Link: #427 Construct Quad Tree
- Companies: Amazon, Google, Meta, Microsoft
112. Merge k Sorted Lists
- LeetCode Link: #23 Merge k Sorted Lists
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
π¦ Kadane's Algorithm
113. Maximum Subarray
- LeetCode Link: #53 Maximum Subarray
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
114. Maximum Sum Circular Subarray
- LeetCode Link: #918 Maximum Sum Circular Subarray
- Companies: Amazon, Google, Meta, Microsoft, Bloomberg
π’ Binary Search
115. Search Insert Position
- LeetCode Link: #35 Search Insert Position
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe
116. Search a 2D Matrix
- LeetCode Link: #74 Search a 2D Matrix
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
117. Find Peak Element
- LeetCode Link: #162 Find Peak Element
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
118. Search in Rotated Sorted Array
- LeetCode Link: #33 Search in Rotated Sorted Array
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
119. Find First and Last Position of Element in Sorted Array
- LeetCode Link: #34 Find First and Last Position of Element in Sorted Array
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
120. Find Minimum in Rotated Sorted Array
- LeetCode Link: #153 Find Minimum in Rotated Sorted Array
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
121. Median of Two Sorted Arrays
- LeetCode Link: #4 Median of Two Sorted Arrays
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
π’ Heap
122. Kth Largest Element in an Array
- LeetCode Link: #215 Kth Largest Element in an Array
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
123. IPO
- LeetCode Link: #502 IPO
- Companies: Amazon, Google, Meta, Microsoft
124. Find K Pairs with Smallest Sums
- LeetCode Link: #373 Find K Pairs with Smallest Sums
- Companies: Amazon, Google, Meta, Microsoft, Adobe
125. Find Median from Data Stream
- LeetCode Link: #295 Find Median from Data Stream
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
π’ Bit Manipulation
126. Add Binary
- LeetCode Link: #67 Add Binary
- Companies: Amazon, Meta, Microsoft, Google, Apple, Adobe, Bloomberg
127. Reverse Bits
- LeetCode Link: #190 Reverse Bits
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe
128. Number of 1 Bits
- LeetCode Link: #191 Number of 1 Bits
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
129. Single Number
- LeetCode Link: #136 Single Number
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
130. Single Number II
- LeetCode Link: #137 Single Number II
- Companies: Amazon, Google, Meta, Microsoft, Adobe
131. Bitwise AND of Numbers Range
- LeetCode Link: #201 Bitwise AND of Numbers Range
- Companies: Amazon, Google, Meta, Microsoft
π Math
132. Palindrome Number
- LeetCode Link: #9 Palindrome Number
- Companies: Amazon, Meta, Microsoft, Google, Apple, Adobe, Bloomberg
133. Plus One
- LeetCode Link: #66 Plus One
- Companies: Amazon, Google, Meta, Microsoft, Apple, Adobe
134. Factorial Trailing Zeroes
- LeetCode Link: #172 Factorial Trailing Zeroes
- Companies: Amazon, Meta, Google, Microsoft, Bloomberg
135. Sqrt(x)
- LeetCode Link: #69 Sqrt(x)
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
136. Pow(x, n)
- LeetCode Link: #50 Pow(x, n)
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
137. Max Points on a Line
- LeetCode Link: #149 Max Points on a Line
- Companies: Amazon, Google, Meta, Microsoft, Apple, Adobe
π 1D Dynamic Programming
138. Climbing Stairs
- LeetCode Link: #70 Climbing Stairs
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
139. House Robber
- LeetCode Link: #198 House Robber
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
140. Word Break
- LeetCode Link: #139 Word Break
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
141. Coin Change
- LeetCode Link: #322 Coin Change
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
142. Longest Increasing Subsequence
- LeetCode Link: #300 Longest Increasing Subsequence
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
π Multidimensional DP
143. Triangle
- LeetCode Link: #120 Triangle
- Companies: Amazon, Meta, Google, Microsoft, Adobe
144. Minimum Path Sum
- LeetCode Link: #64 Minimum Path Sum
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
145. Unique Paths II
- LeetCode Link: #63 Unique Paths II
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe
146. Longest Palindromic Substring
- LeetCode Link: #5 Longest Palindromic Substring
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg, Uber
147. Interleaving String
- LeetCode Link: #97 Interleaving String
- Companies: Amazon, Google, Meta, Microsoft, Adobe
148. Edit Distance
- LeetCode Link: #72 Edit Distance
- Companies: Amazon, Meta, Google, Microsoft, Apple, Adobe, Bloomberg
149. Best Time to Buy and Sell Stock III
- LeetCode Link: #123 Best Time to Buy and Sell Stock III
- Companies: Amazon, Meta, Google, Microsoft, Bloomberg
150. Best Time to Buy and Sell Stock IV
- LeetCode Link: #188 Best Time to Buy and Sell Stock IV
- Companies: Amazon, Meta, Google, Microsoft, Bloomberg
π― How to Use This Guide
1. Start with Easy Problems
Begin with the Array & String section and work your way through easy-level problems first. Build confidence before moving to medium and hard problems.
2. Focus on Patterns
Notice how problems are grouped by data structures and algorithms. Understanding these patterns will help you recognize similar problems during interviews.
3. Target Company-Specific Problems
If you're interviewing at a specific company (e.g., Amazon, Google), prioritize problems frequently asked by that company.
4. Practice Consistently
Aim to solve 2-3 problems daily. Consistency is more important than cramming.
5. Master the Fundamentals
Don't just memorize solutions. Understand:
- Time complexity (Big O notation)
- Space complexity
- Trade-offs between different approaches
- Edge cases and input validation
6. Mock Interviews
Practice explaining your thought process out loud. Communication is crucial in technical interviews.
π Study Plan Suggestions
30-Day Sprint Plan
- Week 1: Array, String, Two Pointers (5 problems/day)
- Week 2: HashMap, Stack, Linked List (5 problems/day)
- Week 3: Binary Tree, Graph, Binary Search (5 problems/day)
- Week 4: Dynamic Programming, Backtracking, Review (5 problems/day)
60-Day Comprehensive Plan
- Weeks 1-2: Arrays & Strings (3 problems/day)
- Weeks 3-4: Two Pointers, Sliding Window, Matrix (3 problems/day)
- Weeks 5-6: HashMap, Intervals, Stack (3 problems/day)
- Weeks 7-8: Linked List, Binary Trees (2-3 problems/day)
- Weeks 9-10: Graphs, Trie, Backtracking (2-3 problems/day)
- Weeks 11-12: Dynamic Programming, Review (2-3 problems/day)
90-Day Deep Dive
- Follow the 60-day plan but spend more time on:
- Understanding multiple solutions per problem
- Optimizing your initial solutions
- Writing clean, production-quality code
- Practicing system design basics alongside coding
π‘ Pro Tips for Success
Understand Before Memorizing: Don't just memorize solutions. Understand the underlying principles and patterns.
Write Clean Code: Practice writing readable code with proper variable names and comments during practice sessions.
Handle Edge Cases: Always consider empty inputs, single elements, duplicates, and boundary conditions.
Optimize Progressively: Start with a brute force solution, then optimize. Interviewers want to see your thought process.
Learn from Mistakes: Review problems you got wrong. Understand why you struggled and what concept you need to reinforce.
Time Yourself: Practice under time constraints to simulate real interview pressure.
Use the Right Data Structure: Understanding when to use arrays, hash maps, heaps, or trees is crucial.
Master Common Patterns: Two pointers, sliding window, BFS/DFS, dynamic programming, and backtracking appear repeatedly.
π Final Thoughts
Preparing for technical interviews is a marathon, not a sprint. These 150 problems represent a carefully curated selection of the most important questions asked by top tech companies.
Remember that the goal isn't just to solve all 150 problemsβit's to deeply understand the patterns, algorithms, and data structures they represent. Quality over quantity is key.
Stay consistent, be patient with yourself, and don't get discouraged by difficult problems. Every problem you solve makes you a better engineer and brings you one step closer to landing your dream job.
Good luck with your preparation! You've got this! πͺ
π Additional Resources
- LeetCode Discuss: Read solutions and discussions from the community
- NeetCode: Video explanations for popular problems
- Algorithms Textbook: "Introduction to Algorithms" by CLRS
- YouTube Channels: Abdul Bari, Back To Back SWE, Tech Dose
- Practice Platforms: LeetCode, HackerRank, CodeSignal
Found this guide helpful? Follow me for more technical interview preparation content!
Have questions or suggestions? Drop a comment below!
Top comments (0)