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."
Compute graph distance and impacted services
Part A — Graph shortest distance (BFS) You are given an interface representing a node in an unweighted graph: `java interface Candidate { String id(...
Implement a Merkle-tree repo diff
You are given two snapshots of a source-code repository on disk, each represented by a root directory path. Implement a Merkle tree over the directory...
Design a YouTube/Netflix video platform
Design a video platform similar to YouTube/Netflix. Requirements: - Upload videos (for YouTube-like) and/or ingest catalog (for Netflix-like). - Trans...
Synchronize Shared Data Across Two Lists
Build a small mobile app with two list screens that fetch and display data. Some items may appear in both lists. Each item has at least: - id - title ...
Describe handling conflict and a proud project
Behavioral interview prompts: 1. Tell me about a time you had a conflict with a teammate (e.g., disagreement on design, priorities, or code quality). ...
How do you tackle unfamiliar problems?
Behavioral questions 1. Project deep dive: Briefly introduce yourself and walk through 1–2 past projects you worked on. Pick one problem you solved th...
Compute shortest path in a 2D grid
Given an m x n grid where: - 0 represents an empty cell you can move through - 1 represents a blocked cell you cannot enter - movement is allowed in 4...
Solve three easy algorithm problems
You are given three independent algorithmic tasks. For each one, explain your approach (no need to run code). 1) Merge two sorted lists (integers inst...
Implement cache and gift assignment system
You are given two independent programming problems. --- Problem 1: Implement a bounded key–value cache Design a data structure that stores key–value p...
Implement a Snowflake Query Client
Build a lightweight query client for a Snowflake-like data warehouse. Implement a QueryClient that can: 1. Connect to the warehouse using configuratio...
Implement deposit, withdraw, and transfer in a class
Problem Implement a class AccountService that supports basic money operations on accounts. Operations - deposit(accountId, amount) - withdraw(accountI...
Design webhook, POI, chat, CI/CD, payments
You are asked to design several large-scale backend systems in a single onsite session. The bar is breadth and judgment under time pressure: for each ...
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...
Compute exclusive execution time from logs
Problem You are given execution logs from a single-threaded CPU that runs n functions labeled 0..n-1. The CPU can run only one function at a time. A f...
Describe IC packaging tool experience and ramp-up
Scenario You are interviewing for an IC packaging / package design role on a 4-person design team distributed across the US and the Philippines. Quest...
Analyze time complexity for dictionary operations
Analyze the time complexity of the following dictionary/hash map operations. (a) Searching for a key: state average-case and worst-case time, and expl...
Walk through a project deep dive
Behavioral Deep Dive: Walk Through an Impactful Project You are interviewing for a Software Engineer role. This is a hiring-manager (HM) round, not a ...
Design a near-real-time weather API
Question Design a weather data platform that retrieves best-effort hourly dumps from an external Weather Service API for approximately 2,000 locations...
Settle debts with minimal transactions
You are given a list of debts among a set of people, expressed as triples (debtor, creditor, amount) (equivalently (payer, payee, amount)), where each...
Design scalable inventory system and avoid races
System Design: Scalable, Highly Available Inventory Management Context Design an inventory management system for a high-traffic e-commerce platform th...