hack2hire-com/SDE-interview-question
حول
Real SDE interview question for top companies.
التعلّم والتعليمالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- +١
- خلال 15 يومًا
- +٣
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلWhat is Hack2hire
🚀 Welcome to Hack2Hire’s Interview Prep Hub
This GitHub page is part of Hack2Hire, a platform dedicated to helping software engineers prepare effectively for technical interviews — from top-tier tech giants to mid-sized and emerging companies.
We go beyond generic problem-solving by offering curated question sets, both LeetCode-based and non-LeetCode questions, all organized by company and interview stage. For non-LeetCode questions, we also provide detailed solution explanations to help you understand not just what the answer is, but why it works.
📘 What You'll Find Here
- Handpicked top LeetCode questions by company
- Real-world non-LeetCode interview problems with solution walkthroughs
- Structured insights based on company, round, and topic
- Preparation guidance that emphasizes relevant patterns and signal over noise
Whether you're preparing for FAANG or fast-growing startups, Hack2Hire helps you focus on what actually gets asked, so you can prep with clarity and confidence.
💬 Join Our Community
- Discord — Ask questions, share insights, and connect with other candidates.
- Reddit — Discuss interview prep strategies and get updates on question trends.
Company List
🧭 Navigation
Amazon
Here are the top LeetCode problems frequently asked by Amazon:
- 127. Word Ladder
- 75. Sort Colors
- 575. Distribute Candies
- 432. All O'One Data Structure
- 348. Design Tic-Tac-Toe
- 1152. Analyze User Website Visit Pattern
- 2915. Length of the Longest Subsequence That Sums to Target
- 79. Word Search
- 98. Validate Binary Search Tree
- 76. Minimum Window Substring
- 277. Find the Celebrity
- 1258. Synonymous Sentences
- 146. LRU Cache
- 53. Maximum Subarray
- 37. Sudoku Solver
- 662. Maximum Width of Binary Tree
- 109. Convert Sorted List to Binary Search Tree
- 103. Binary Tree Zigzag Level Order Traversal
- 652. Find Duplicate Subtrees
- 472. Concatenated Words
- 739. Daily Temperatures
- 875. Koko Eating Bananas
- 2340. Minimum Adjacent Swaps to Make a Valid Array
Top Non-Leetcode Question
| Question | Stages | |
|---|---|---|
| 1 | Connect Points in 2D Matrix | Screening |
| 2 | Find Special DNA Sequence Pairs | OA |
| 3 | Maximum Server Health Sum | OA |
| 4 | Smallest Lexicographical Palindrome | OA |
| 5 | Compress N-ary Tree | Onsite |
| 6 | Maximum Stability | OA |
| 7 | Find Longest Path in DAG | Onsite |
| 8 | Find Lowest Common Manager | Screening, Onsite |
| 9 | Pascal Triangle Encryption | OA |
| 10 | Student Reading Textbook | OA |
| [→ View More Questions] |
Here are the top LeetCode problems frequently asked by Google:
- 224. Basic Calculator
- 806. Number of Lines To Write String
- 1825. Finding MK Average
- 772. Basic Calculator III
- 88. Merge Sorted Array
- 9. Palindrome Number
- 2. Add Two Numbers
- 15. 3Sum
- 283. Move Zeroes
- 22. Generate Parentheses
- 27. Remove Element
- 68. Text Justification
- 5. Longest Palindromic Substring
- 26. Remove Duplicates from Sorted Array
- 312. Burst Balloons
- 151. Reverse Words in a String
- 198. House Robber
- 349. Intersection of Two Arrays
- 398. Random Pick Index
- 2354. Number of Excellent Pairs
- 1800. Maximum Ascending Subarray Sum
- 56. Merge Intervals
- 806. Number of Lines To Write String
- 1825. Finding MK Average
- 200. Number of Islands
- 136. Single Number
- 167. Two Sum II - Input Array Is Sorted
- 189. Rotate Array
- 28. Find the Index of the First Occurrence in a String
Top Non-Leetcode Question
| Question | Stages | |
|---|---|---|
| 1 | Windowed Average excluding Largest K | Screening |
| 2 | Highway Checkpoint | Onsite |
| 3 | Max Fly Distance | Onsite |
| 4 | Subarray-First Iterator | Screening |
| 5 | Max Sum Between Leaf Nodes | OA |
| 6 | Employee Shift Timeline Table | Onsite |
| 7 | Cake Order Fulfillment Check | OA |
| 8 | Dual Car Destinations | OA |
| 9 | Date Validator | Onsite |
| 10 | Keyboard Jump Challenge | Screening |
| [→ View More Questions] |
Meta
Here are the top LeetCode problems frequently asked by Meta:
- 162. Find Peak Element
- 1249. Minimum Remove to Make Valid Parentheses
- 347. Top K Frequent Elements
- 1004. Max Consecutive Ones III
- 528. Random Pick with Weight
- 50. Pow(x, n)
- 295. Find Median from Data Stream
- 199. Binary Tree Right Side View
- 324. Wiggle Sort II
- 127. Word Ladder
- 938. Range Sum of BST
- 215. Kth Largest Element in an Array
- 680. Valid Palindrome II
- 1539. Kth Missing Positive Number
- 282. Expression Add Operators
- 88. Merge Sorted Array
- 23. Merge k Sorted Lists
- 63. Unique Paths II
- 22. Generate Parentheses
- 56. Merge Intervals
- 408. Valid Word Abbreviation
- 1047. Remove All Adjacent Duplicates In String
- 207. Course Schedule
- 227. Basic Calculator II
- 973. K Closest Points to Origin
- 525. Contiguous Array
- 426. Convert Binary Search Tree to Sorted Doubly Linked List
- 658. Find K Closest Elements
- 314. Binary Tree Vertical Order Traversal
- 8. String to Integer (atoi)
- 1123. Lowest Common Ancestor of Deepest Leaves
- 443. String Compression
- 125. Valid Palindrome
- 339. Nested List Weight Sum
- 987. Vertical Order Traversal of a Binary Tree
- 721. Accounts Merge
- 1209. Remove All Adjacent Duplicates in String II
- 190. Reverse Bits
- 543. Diameter of Binary Tree
- 1060. Missing Element in Sorted Array
- 560. Subarray Sum Equals K
- 249. Group Shifted Strings
- 21. Merge Two Sorted Lists
- 236. Lowest Common Ancestor of a Binary Tree
- 76. Minimum Window Substring
- 71. Simplify Path
- 39. Combination Sum
- 129. Sum Root to Leaf Numbers
- 346. Moving Average from Data Stream
Top Non-Leetcode Question
| Question | Stages | |
|---|---|---|
| 1 | Find Shortest Unique Prefix | Screening |
| 2 | Keypad Letter Combination | Onsite |
| 3 | Find Shortest Path in Matrix | Screening, Onsite |
| 4 | Count Distinct Elements in Window | Screening, Onsite |
| 5 | Split Array with Equal Sum | Screening |
| 6 | Merge Two Interval Lists | Onsite |
| 7 | Word Pattern Match | Onsite |
| 8 | Minimal Board Length for Holes | OA, Onsite |
| 9 | Minimum Coins to Form All Amounts | Onsite |
| [→ View More Questions] |
Microsoft
Here are the top LeetCode problems frequently asked by Microsoft:
- 772. Basic Calculator III
- 2. Add Two Numbers
- 3. Longest Substring Without Repeating Characters
- 9. Palindrome Number
- 12. Integer to Roman
- 13. Roman to Integer
- 253. Meeting Rooms II
- 295. Find Median from Data Stream
- 348. Design Tic-Tac-Toe
- 362. Design Hit Counter
- 15. 3Sum
- 21. Merge Two Sorted Lists
- 23. Merge k Sorted Lists
- 843. Guess the Word
- 994. Rotting Oranges
- 31. Next Permutation
- 32. Longest Valid Parentheses
- 48. Rotate Image
- 253. Meeting Rooms II
- 295. Find Median from Data Stream
- 348. Design Tic-Tac-Toe
- 54. Spiral Matrix
- 64. Minimum Path Sum
- 103. Binary Tree Zigzag Level Order Traversal
- 204. Count Primes
- 211. Design Add and Search Words Data Structure
- 215. Kth Largest Element in an Array
- 224. Basic Calculator
- 236. Lowest Common Ancestor of a Binary Tree
- 239. Sliding Window Maximum
- 253. Meeting Rooms II
- 295. Find Median from Data Stream
- 348. Design Tic-Tac-Toe
- 362. Design Hit Counter
- 380. Insert Delete GetRandom O(1)
- 443. String Compression
- 465. Optimal Account Balancing
- 468. Validate IP Address
- 545. Boundary of Binary Tree
- 701. Insert into a Binary Search Tree
- 1102. Path With Maximum Minimum Value
- 1244. Design A Leaderboard
- 1258. Synonymous Sentences
- 1545. Find Kth Bit in Nth Binary String
- 236. Lowest Common Ancestor of a Binary Tree
- 239. Sliding Window Maximum
- 253. Meeting Rooms II
- 1570. Dot Product of Two Sparse Vectors
- 1730. Shortest Path to Get Food
Top Non-Leetcode Question
| Question | Stages | |
|---|---|---|
| 1 | Keypad Letter Combination | Onsite |
| 2 | Valid Time Combinations | OA |
| 3 | Max Square from Mixed Tiles | OA |
| 4 | Binary Search Variation | Onsite |
| 5 | Integer to English Converter | Onsite |
| 6 | Calculate Total Waiting Time | OA |
| 7 | Calculate Total Waiting Time | OA |
| 8 | Recipes From Ingredients | OA |
| 9 | Largest Common BST Value | Onsite, Screening |
| 10 | Find Word Path | Onsite |
| [→ View More Questions] |
Uber
Here are the top LeetCode problems frequently asked by Uber:
- 380. Insert Delete GetRandom O(1)
- 97. Interleaving String
- 564. Find the Closest Palindrome
- 621. Task Scheduler
- 146. LRU Cache
- 269. Alien Dictionary
- 239. Sliding Window Maximum
- 815. Bus Routes
- 57. Insert Interval
- 680. Valid Palindrome II
- 153. Find Minimum in Rotated Sorted Array
- 230. Kth Smallest Element in a BST
- 977. Squares of a Sorted Array
- 716. Max Stack
- 238. Product of Array Except Self
Top Non-Leetcode Question
| Question | Stages | |
|---|---|---|
| 1 | Currency Exchange | Screening, Onsite |
| 2 | Find Robots Position | Screening, Onsite |
| 3 | Longest Valid Parentheses | Onsite |
| 4 | Next Greater Palindrome | Onsite |
| 5 | Substring Wrapper | Screening |
| [→ View More Questions] |
Coinbase
Top Non-Leetcode Question
| Question | Stages | |
|---|---|---|
| 1 | Currency Exchange | Screening, Onsite |
| 2 | Minimize Capital Gains Tax | Onsite |
| 3 | Generate Random NFT | Onsite |
| 4 | Account Balance Transfer | Onsite |
| 5 | Iterator with Filter | Screening |
| [→ View More Questions] |
DoorDash
Here are the top LeetCode problems frequently asked by DoorDash:
- 1235. Maximum Profit in Job Scheduling
- 224. Basic Calculator
- 1011. Capacity To Ship Packages Within D Days
- 859. Buddy Strings
- 875. Koko Eating Bananas
- 790. Domino and Tromino Tiling
- 826. Most Profit Assigning Work
- 329. Longest Increasing Path in a Matrix
- 124. Binary Tree Maximum Path Sum
- 1790. Check if One String Swap Can Make Strings Equal
- 1347. Minimum Number of Steps to Make Two Strings Anagram
- 1166. Design File System
- 286. Walls and Gates
- 1143. Longest Common Subsequence
- 827. Making A Large Island
- 31. Next Permutation
- 1268. Search Suggestions System
Top Non-Leetcode Question
| Question | Stages | |
|---|---|---|
| 1 | Find the Nearest City | Onsite |
| 2 | Construct Restaurant Daily Menu | Screening |
| 3 | Calculate Dasher Salary | Screening |
| 4 | Design Path Key Value Store | Screening |
| 5 | Dasher Payment Model | Screening |
| [→ View More Questions] |
Confluent
Here are the top LeetCode problems frequently asked by Confluent:
Top Non-Leetcode Question
| Question | Stages | |
|---|---|---|
| 1 | Design Infinite Queue with GetRandom O(1) | Onsite |
| 2 | Windowed Key-Value Store | OA |
| 3 | Variadic Function Matching | Screening |
| 4 | Implement Inverted Index | Onsite |
| 5 | Subset Sum Equals K | Onsite, Screening |
| [→ View More Questions] |
Lyft
Here are the top LeetCode problems frequently asked by Lyft:
- 994. Rotting Oranges
- 981. Time Based Key-Value Store
- 76. Minimum Window Substring
- 735. Asteroid Collision
- 157. Read N Characters Given Read4
- 158. Read N Characters Given Read4 II - Call multiple times
- 642. Design Search Autocomplete System
- 155. Min Stack
- 716. Max Stack
- 69. Sqrt(x)
- 426. Convert Binary Search Tree to Sorted Doubly Linked List
- 42. Trapping Rain Water
- 238. Product of Array Except Self
- 200. Number of Islands
- 91. Decode Ways
- 1268. Search Suggestions System
- 727. Minimum Window Subsequence
- 415. Add Strings
- 23. Merge k Sorted Lists
- 124. Binary Tree Maximum Path Sum
- 365. Water and Jug Problem
- 1382. Balance a Binary Search Tree
Top Non-Leetcode Question
| Question | Stages | |
|---|---|---|
| 1 | Job Scheduler | Screening |
| 2 | MultiStream Reader | Screening, Onsite |
| 3 | Design In-Memory Key-Value Database | Onsite |
| 4 | Design Query Pagination | Onsite |
| 5 | Alien Base Attack | Screening |
| [→ View More Questions] |
Affirm
Here are the top LeetCode problems frequently asked by Affirm:
- 322. Coin Change
- 380. Insert Delete GetRandom O(1)
- 465. Optimal Account Balancing
- 111. Minimum Depth of Binary Tree
- 102. Binary Tree Level Order Traversal
- 242. Valid Anagram
- 49. Group Anagrams
- 217. Contains Duplicate
- 146. LRU Cache
- 713. Subarray Product Less Than K
- 126. Word Ladder II
- 362. Design Hit Counter
- 3076. Shortest Uncommon Substring in an Array
Top Non-Leetcode Question
| Question | Stages | |
|---|---|---|
| 1 | End Of Day Balance | Onsite |
| 2 | High Correlation Seller | Screening |
| 3 | Design Card Game | Onsite |
| 4 | Persistent Stack | Screening |
| 5 | Prefix to Postfix | OA |
| [→ View More Questions] |
Robinhood
Top Non-Leetcode Question
| Question | Stages | |
|---|---|---|
| 1 | Find Maximum Trade Shares | Screening, Onsite |
| 2 | Maximum Multiplier Path | Onsite |
| 3 | Offset Commit | Screening |
| 4 | Employee Referral Program | Screening, Onsite |
| 5 | Margin Call | Screening, Onsite |
| [→ View More Questions] |
Yelp
Here are the top LeetCode problems frequently asked by Yelp:
- 252. Meeting Rooms
- 253. Meeting Rooms II
- 273. Integer to English Words
- 75. Sort Colors
- 146. LRU Cache
Top Non-Leetcode Question
| Question | Stages | |
|---|---|---|
| 1 | Prefix Search I | Screening, Onsite |
| 2 | Find Destination Node | Screening, Onsite |
| 3 | Top Love Message Receivers | Screening, Onsite |
| 4 | N-gram Split | Screening, Onsite |
| 5 | Count Alert Triggers | Screening, Onsite |
| [→ View More Questions] |
Here are the top LeetCode problems frequently asked by Pinterest:
- 38. Count and Say
- 136. Single Number
- 215. Kth Largest Element in an Array
- 282. Expression Add Operators
- [432. All O`one Data Structure](https://leetcode.com/problems/all-oone-data-structure/)
- 528. Random Pick with Weight
- 767. Reorganize String
- 815. Bus Routes
- 1055. Shortest Way to Form String
- 1235. Maximum Profit in Job Scheduling
- 1293. Shortest Path in a Grid with Obstacles Elimination
- 2302. Count Subarrays With Score Less Than K
Top Non-Leetcode Question
| Question | Stages | |
|---|---|---|
| 1 | Reverse Count and Say | Screening |
| 2 | Escape Room | Onsite |
| 3 | Spam Caller Counter | Onsite |
| 4 | Find Restaurant Intervals | Screening |
| 5 | Max Non-overlapping Tasks | Onsite |
| [→ View More Questions] |
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…