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 a Connection Pool
You are given an existing DBConnection class that simulates a physical database connection. It exposes the following methods and must not be modified:...
Implement Food Delivery Billing
You are implementing billing logic for a food-delivery platform. Each completed delivery record contains: - order_id - driver_id - requested_at — when...
Implement Spreadsheet Cell Updates
Design and implement a small spreadsheet engine that supports setting and reading cell values. A cell name is a string such as "A1", "B12", or "AA3". ...
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...
Validate bracket sequence
Given a string s containing only the characters (, ), [, ], {, and }, determine whether the brackets are properly matched. A string is valid if: - Eve...
Design a cloud console main page
Scenario You are building the main landing page (home page) of a cloud service console that a user sees immediately after logging in (e.g., similar to...
Compute height of tree with deleted nodes; minimize deletions
You are given a rooted tree (not necessarily binary). Each node has a list of children. Some nodes are marked as deleted = true. Define the effective ...
Design a job scheduler with SLA and logs
Scenario Design a distributed job scheduler that runs scheduled (time-based) jobs only (e.g., cron/interval). Each job execution has an SLA: if the ru...
Find k Smallest Pair Sums
Given two integer arrays nums1 and nums2, both sorted in non-decreasing order, and an integer k, return the k pairs with the smallest sums, where each...
Implement Social Graph Snapshot Queries
You are given a read-only snapshot of a social network. The snapshot is represented as a directed graph where an edge (u, v) means user u follows user...
Design and backtest a trading strategy
Minute-Level Mean-Reversion Strategy: Design, Backtest, Validation, and Significance Context You are given minute-level OHLCV data (open, high, low, c...
Design a Top-K trending service
Scenario You implemented a function to compute “top K” (e.g., most frequent items). Now design a backend service that provides similar functionality a...
Find shortest path on infinite grid
You are given an infinite 2D grid with integer coordinates. From a cell (x, y) you may move in 4 directions (North/South/East/West) by 1 cell per move...
Build a Wordle-style game in React
Task Implement a simplified Wordle-style game as a small React app. No styling/CSS is required (plain HTML output is fine). Game rules (assume Wordle-...
Design task scheduler with dependencies
Design a Distributed Task Scheduling Infrastructure Context Design a distributed task scheduling and orchestration system that can run at scale, suppo...
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 ...
Decide target via subsequence plus/multiply expression
Question Given a sequence of positive 32-bit integers A and an integer target, determine whether there exists a subsequence of A (preserving order, us...
Compute height after deletions; enumerate valid delete sets
Warm-up: You are given a rooted binary tree with unique node ids and a list of ids to delete. When a node is deleted, promote all of its children to b...
Implement dasher active-time calculator
Implement a function that, given a dasherId, a local pay-period interval [startLocalDateTime, endLocalDateTime), and a list of order events of the for...
Design multi-tab browser history and trade-offs
Design: Multi-Tab Browser History Context: Extend a single-tab browser-history component into a multi-tab manager that supports opening/closing tabs, ...