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."
Answer why Jane Street
HR Screen Behavioral Question: Why Jane Street? You are interviewing for a Software Engineer role. In 60–90 seconds, explain: 1. Why Jane Street speci...
Calculate trapped water between elevation bars
Given an array of non-negative integers representing the heights of unit-width vertical bars, compute the total water retained after rainfall. Start b...
Design a trending-articles platform
Design a Near Real-Time Trending-Articles Platform Design the backend that surfaces trending articles in near real time for a large-scale consumer pro...
Debug a cache incident end-to-end
Incident Scenario: Elevated Latency and Surge in Cache Misses You are paged for elevated tail latency and a spike in cache misses in a microservice th...
Identify and handle race conditions
Concurrency in an In-Memory Key-Value Store and Hit Counter Context and Assumptions Assume you are implementing an in-memory key-value store and a hit...
Design a concurrent web crawler
Web Crawler System Design (Onsite) Problem Design and implement a concurrent web crawler that: - Starts from a given URL. - Uses a provided interface ...
Implement Three Assessment Functions
An online assessment contains three independent programming tasks. Implement each function clearly and efficiently. 1. Compute coordinate bounds - ...
Design structure for first unique login user
You are given an online stream of user login events. Each event is a user ID (e.g., an integer or string) indicating that this user has just logged in...
Design a ChatGPT-like web chat UI
Scenario You are interviewing for a front-end role. Design a web application similar to a ChatGPT chat experience. The interviewer expects a front-end...
Design a multi-size storage locker system
Design a storage-locker system that supports storing and retrieving items when lockers come in multiple sizes. Scenario A company operates self-servic...
Design sequence decoding with greedy and beam search
Design sequence decoding with greedy and beam search Next-Token Decoding: Greedy and Beam Search Context You are given a probabilistic next-token dict...
Find k-th recipient in command propagation order
Chain of Command (k-th Receiver in DFS-by-Child-Id Order) A company org chart forms a rooted tree with n people (nodes), labeled 1..n. You are given a...
Improve shopping cart latency and stock notifications
You are given an existing e-commerce shopping cart system (web/mobile) that already supports adding/removing items and viewing the cart. The interview...
Explain Out-of-Bounds Bugs and Infinite Loops
You are given a C or C++ code snippet that behaves incorrectly. The root cause is an out-of-bounds memory access, such as reading or writing past the ...
Model data for an ads platform
Problem Design a data model for an online advertising system that supports creating ads and analyzing delivery/performance. Core product needs The sys...
Find a valid course order from prerequisites
You are given numCourses labeled from 0 to numCourses-1 and a list of prerequisite pairs prerequisites, where each pair [a, b] means you must complete...
Solve Two Algorithm Challenges
Solve the following independent algorithm problems. Problem 1: Maximize three non-overlapping variable-length subarrays You are given an integer array...
Build an Account Transfer Ledger
Implement a transaction processor for a payment platform. You are given a list of transaction records. Each record contains: - id: unique transaction ...
Find missing rank in a straight
You are given a list of 4 distinct characters representing card ranks from a 5-card straight (5 consecutive ranks) with exactly one rank missing. Rank...
Choose Fast or Cheap Models
You are building an AI-powered product and must choose between two inference options for each request: - Option A: higher cost per token, but lower la...