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."
Count changed nodes between two menu trees
You maintain a merchant menu as a rooted tree. Each node represents a menu item/category and has: - key (string, unique among siblings) - value (integ...
Group points by distance threshold
You are given N points in 2D space, points[i] = (xi, yi), and a distance threshold k > 0. Define an undirected graph where there is an edge between tw...
Implement a fixed-capacity generic circular buffer
Design a data structure that stores generic elements T with the following properties: - FIFO semantics (queue): pop() returns the oldest element. - pu...
Find minimum threshold enabling grid path
Problem You are given an m x n integer grid grid. You start at the top-left cell (0, 0) and want to reach the bottom-right cell (m-1, n-1). You may mo...
Introduce background and choose target team
Introduce background and choose target team Behavioral HR Screen: Software Engineer Prompt Prepare concise, structured responses to the following: 1. ...
Answer general fit and AI safety questions
Answer general fit and AI safety questions Behavioral and AI-Safety Interview Prompts (Software Engineer, Onsite) Context You are interviewing for a S...
Troubleshoot a production incident end-to-end
Troubleshoot a production incident end-to-end Incident Troubleshooting: Intermittent Failures and Elevated Latency in Transfers Context A microservice...
Implement binary search from scratch
Question Implement binary search on a sorted integer array without using any library helpers (no bisect, Arrays.binarySearch, etc.). Provide both iter...
Explain Aurora-style internals: WAL, MVCC, replication, recovery
Database Internals Deep Dive You are interviewing for a cloud database engine team (Aurora-like). Answer conceptually and with trade-offs. Questions 1...
Merge collinear overlapping 2D segments
You are given a collection of 2D line segments. Each segment may be represented either as: - two endpoints (x1, y1) and (x2, y2), or - a polyline with...
Explain auth, key rotation, secrets, and incident response
You are interviewing for a security-focused engineering role. Discuss how you would design and operate the following in a production microservices env...
Determine Whether P's Position Is Unique
You are given an R x C rectangular grid and a set of named entities. Each entity must be placed in exactly one distinct cell. You are also given a col...
Construct a BST and read spiral order
The coding round reportedly included two algorithmic tasks: 1. Rebuild a binary search tree from a preorder sequence - You are given an array of di...
Compute Latencies and Search Grid Path
You are given two coding tasks from an internship interview. Task 1: Compute Message Latency from CSV Logs Two systems, ComputeA and ComputeB, exchang...
Explain process vs thread and memory-sharing risks
You are asked about OS concurrency fundamentals. Prompt 1. What is the difference between a process and a thread? 2. Do processes and threads share me...
Find Maximum Candies With Two Types
You are given a row of candies represented by an array candies, where candies[i] is the type of the candy at position i. You may choose any starting p...
Maximize profit with bounded sell window
Given an array prices[0..n-1] of daily stock prices and an integer D ≥ 1, you may perform at most one transaction (buy then sell). The sell day j must...
Design a global restaurant menu update system
Design a menu update system for a global chain of restaurants. Context: - The chain operates in many countries. - Each restaurant may have multiple ki...
Design a scalable inventory system
Design a scalable inventory system System Design: Multi-Warehouse, Multi-Channel Inventory Service You are designing an inventory service for an e-com...
Implement a Composable Event Recommendation Engine
Design and implement a flexible event recommendation engine in Java. You are given domain objects such as Event, Customer, Inventory, and a LocationSe...