Software Engineer Interview Questions
Practice 4,229 real Software Engineer interview questions for 2026 — real questions from actual interviews with detailed solutions to speed your interview preparation. This collection reflects what top tech firms like Meta, Amazon, Google, DoorDash, and TikTok typically evaluate: rigorous coding and algorithmic problem solving, increasing expectations for end-to-end system design (including GenAI/LLM design at some teams), clear complexity analysis, and reliable engineering judgment under constraints. Expect a multi-stage pipeline: recruiter screen, timed or asynchronous coding assessments, one-to-more live coding rounds focused on data structures and correctness, system-design conversations for mid and senior levels, and behavioral/hiring-manager interviews that probe ownership and collaboration. To prepare, prioritize patterned practice (timed mock interviews and implementation + optimization), learn scalable design frameworks, rehearse concise trade-off communication, and tailor examples to company signals like Amazon’s leadership lens or product/latency focus at delivery and media-driven teams. Consistent, feedback-driven practice that combines problem-solving speed, clean code, and measured design reasoning is the quickest path to offers.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Choose best prompt for AI code debugging
When using AI tools such as ChatGPT to help debug code, which prompting approach is generally most effective? Options: - A. Directly paste the complet...
Design a price drop tracking service
Design a price tracking service like CamelCamelCamel. Requirements: - Users track products and receive alerts when price drops below a threshold. - Pe...
Design a large-scale web crawler
Design a web crawler that continuously discovers and downloads web pages. Requirements: - Start from seed URLs and crawl at scale. - Avoid duplicate c...
Find valid split-stay listing combinations
You are building a feature that suggests a split stay: a guest stays in one home for the first part of a trip, then switches to a second home for the ...
Design body camera checkout system
You are building an in-memory checkout system for police body cameras. The system is initialized with a set of unique camera IDs. Each officer can hol...
Implement a Cache Snapshot Printer
Implement an LRU-style cache and a snapshot-printing feature. The cache stores key-value pairs and has a fixed capacity. It should support normal cach...
Design a Multi-Agent Chat Backend
Design the backend for an LLM-powered chat product used by customers in a financial-technology setting. The interviewer will show a simple demo of a c...
Extend rules for trip-level aggregates and outputs
Extend rules for trip-level aggregates and outputs Extend Rules Engine: Aggregate Trip-Level Policies Context You previously built an expense policy e...
Compute max profit with forced trades
Compute max profit with forced trades Given an array prices where prices[i] is the stock price on day i, solve two related tasks under a forced-trade ...
Design an editable sequence with marker
Design a mutable ordered sequence of elements together with a marker that points to one element in the sequence. Support the following operations: - I...
Answer HR screening questions for data role
** HR HR 1. 2. 3. 4. 5. 6. 7. 8. 30 HR **
Match Bookings to Payments
You are given two unsorted lists: - bookings: each record contains at least a unique booking_id - payments: each record contains at least a booking_id...
Optimize a small-string C++ class
You are implementing a high-performance C/C++ string type that uses a small-string optimization: short strings are stored inline in a fixed buffer, an...
Describe a bug you owned end-to-end
Behavioral Question Tell me about a time you personally found and fixed a bug. Cover: - What the bug was and how it was discovered - How you narrowed ...
Build a concurrent web crawler
Implement a web crawler that starts from a given URL and visits every reachable page on the same host. You are given: - start_url: a string representi...
Solve delimiter and CSV tasks
The interview included two coding tasks: 1. Validate bracket sequences. Given a string consisting only of the characters (, ), [, ], {, and }, determi...
Design an inventory system
Design an Inventory Management System with Real-Time Stock and Ordering Problem You are designing an inventory management service for a retail/marketp...
Optimize Trapping Rain Water
Question LeetCode 42. Trapping Rain Water – implement a brute-force solution, analyze its complexity, then optimize to an O(n) solution with O(n) spac...
Solve classic troubleshooting & algorithm tasks
Solve classic troubleshooting & algorithm tasks System failure troubleshooting: You can only SSH into the machine and the log file is huge. How would ...
Design a replicated key-value store with quorums
Design a distributed system that replicates key–value pairs across multiple replicas. The interviewer wants to focus on replication, quorums, and fail...