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."
Find kth element and sliding-window kth in stream
You are given two related tasks. Task 1: Kth element in an array Given an integer array nums of length n and an integer k (1-indexed), return the k-th...
Design a high-concurrency ticketing system
Question Design a high-concurrency ticketing / flash-sale system for limited inventory (e.g. tickets to a popular concert with a fixed number of seats...
Model ads demand data for reporting
You are asked to design the data model (and supporting pipelines at a high level) to represent ads demand for an ads platform. “Demand” here refers to...
Design Nearby Restaurant Search
Design the backend for a nearby-restaurant search feature in a high-traffic consumer app (think the "restaurants near me" screen of a food-delivery or...
Find Shortest Wiki Click Path
Implement a function that computes the minimum number of clicks needed to navigate from one wiki page to another. You are given two page URIs, start_u...
Design IDE Sandbox and Payments
You are asked to discuss two system design prompts. For each one, define the users, functional requirements, non-functional requirements, APIs, core w...
Design cart management lifecycle service
Scenario You are designing the backend for an on-demand delivery app (restaurants and grocery). Users can create a cart, modify items from multiple de...
Compute exclusive CPU time from nested logs
You are given logs from a single-threaded CPU that runs n functions (IDs 0 to n-1). Each log entry is a string in the format: - "functionId:start:time...
Design a smartwatch sensor subsystem
You are designing the sensing subsystem for a health-focused smartwatch. Describe how you would take the product from requirements to production. Your...
Design a topic-based news subscription system
Topic-Based News Subscription Service — Design and Implementation Context Build an in-memory service that manages subscribers and delivers relevant ne...
Print the File System State
You are given a toy in-memory file system represented as an ordered sequence of disk blocks. Each block contains zero or more file records, such as fi...
Merge Overlapping Collinear Segments
You are given a list of 2D geometric segments: vector<vector<pair<double, double>>> segments Each inner list represents one segment and contains at le...
Design a Global Calendar Service
Design a calendar system for users in multiple time zones. The system should support: - creating, updating, deleting, and viewing calendar events - on...
Implement array merge, round-robin scheduler, and trading simulator
You are given three independent coding prompts. For each prompt, clearly define your function/class interfaces, handle edge cases, and analyze time/sp...
Design an inventory management system
Design an inventory management system for an e-commerce business. The system must support: - Updating stock when inventory is received, adjusted, or s...
Handle traffic spikes and estimate server capacity
Scenario You are designing and operating a backend service that receives API requests from clients. Recently, the service becomes slow or times out wh...
Design a text editor with undo/redo
Design and implement a text document editor that maintains a single string of content and supports undo/redo of edits. Model each edit using the Comma...
Find invalid transactions in time-sorted input
Problem You are given a list of transaction records, already sorted in non-decreasing order by time. Each transaction is a string in the form: "name,t...
Build an OAuth-based data migration client
Prompt Build a small command-line program that migrates records from a legacy HTTP API to a new HTTP API. Required steps 1. Obtain an access token usi...

Implement Dependency-Aware Task Scheduler
Design and implement a task scheduler that supports adding tasks and consuming executable tasks in deadline order. Each task has: - taskId: a unique i...