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."
Implement Price-Time Order Matching
Implement a simplified limit-order matching engine for a stock exchange. You receive a stream of orders. Each order has: - order_id: unique identifier...
Design exchange–trading system message flow
Design the message contract and flow between a firm's trading system (OMS/EMS) and an external exchange. Assume: - The trading system sends orders and...
Explain your perspective on AI safety
You are working in a company that builds and deploys advanced AI systems (e.g., large language models, recommendation systems, vision models) that are...
Partition a Target String by Source Substrings
You are given two strings: - target: the string that must be represented. - source: the string whose substrings may be used. Return a partition of tar...
Design a URL shortener
Design a URL shortening service similar to Bitly. The service should accept a long URL and return a short alias, and visiting the short URL should red...
Maximize coins with tokens moving by +3
You are given a 1D board represented by a string s of length n. Each character is one of: - '.' — an empty cell - 'C' — a cell containing exactly one ...
Design demand-side ads relational tables
You are designing the core relational data model for a demand-side advertising system. Create a normalized schema (tables + key columns + relationship...
Design several large-scale systems
The interview note listed several system design prompts. For each one, discuss functional requirements, APIs, storage, scaling, consistency, fault tol...
How do you conduct a code review exercise?
In a live interview, you are shown a short code change — a diff, a pull request, or a standalone function — and asked to produce written code review c...
Traverse a tree and answer 2D prefix sums
You are given two independent coding tasks. Task 1: In-order traversal of a binary tree Given the root of a binary tree, return the in-order traversal...
Design a geo-distributed rate limiter
Design a rate limiting system that works across multiple geographic regions (e.g., us-east, eu-west, ap-south). Requirements: - Enforce per-API-key li...
Design a Real-Time AI Voice System
Design a real-time AI voice system, such as a phone or web-based voice agent that can listen to a user, understand the conversation, generate a respon...
Design a location-based radius top-K search
Design a location-based search service. Input: - latitude, longitude - radius (meters) - K Output: - The top K locations within the radius. The term “...
Implement simplified Excel with SET/GET/SUM
Implement a simplified in-memory spreadsheet that supports three operations: SET, GET, and SUM, similar to basic Excel functionality. Assumptions and ...
Show role fit using past ad experience
In a manager interview for an ads engineering role, you’re often evaluated on whether you can “join and immediately contribute.” How would you: - Map ...
Describe Cross-Functional Remote Collaboration
Tell me about a project where you had to collaborate with cross-functional teams, such as non-engineering stakeholders, other engineering teams, or te...
Determine Balloon Popping Time
You are given a rectangular 2D grid representing a field of balloons. Each cell contains exactly one of the following values: - 0: empty cell - 1: inf...
Find LCA With Parent Pointers
Given two nodes in a rooted tree, find their lowest common ancestor. Each node has a pointer to its parent. You are not given the root of the tree. De...
Design a group chat system
Design a WhatsApp-like group chat system. Core features: - 1:1 and group conversations - Send/receive text messages (assume small payloads) - Group me...
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...