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."
How do you assess database system stability?
You are responsible for a production database (or database platform) used by multiple services. How would you determine whether the database system is...
Implement an Expiring Record Store
Implement a level-based in-memory record store. The store contains records identified by a string key. Each record contains fields, where each field i...
Compute length of longest increasing subsequence
You are given an integer array nums of length n. A subsequence of nums is a sequence that can be derived from nums by deleting zero or more elements w...
Implement logger and card ranking
This coding round contains two independent implementation tasks. Task A: Implement a configurable logger Implement a Logger component that accepts tex...
Design a Daily Puzzle Platform
Design a backend system for a daily puzzle platform. Users should be able to: - Sign in and view the puzzle of the day. - Submit an answer for the cur...
Return valid task order from prerequisites
You are given N tasks labeled 0..N-1 and a list of directed dependency pairs [(a,b), ...] meaning task a must be done before task b. 1) Return one val...
Design paginated list UI and pagination API
Scenario You are building a web page that displays a list of items (e.g., posts, products, or users). The list must be paginated, and users can click ...
Implement classes in existing abstract hierarchy
You are given an existing Python codebase that defines multiple classes, including abstract base classes using abc.ABC and @abstractmethod decorators....
Compute task order with prerequisites
Given an integer n representing tasks labeled 0..n-1 and a list of prerequisite pairs (a, b) meaning b must be completed before a, return any valid or...
Explain benefits of a lockfile
When running a JavaScript app using package managers like npm or yarn, what is the purpose of a dependency lockfile (e.g., package-lock.json or yarn.l...
Find Largest Adjacent Stock Price Change
You are given an unsorted list of stock price records. Each record has two fields: - date: a date string in YYYY-MM-DD format - price: an integer stoc...
Explain motivation for QA and career goals
Questions Answer the following as if speaking to a hiring manager: 1. Where do you want to develop your career in the next 2–5 years, and why? 2. Why ...
Implement Fibonacci generator, balanced BST, frozenset
You are coding in Python. Implement the following three tasks. Unless explicitly allowed, do not use Python built-in container types (list, dict, set,...
Compute board-game score from regions
You are given a 2D board for a board game. Each cell is encoded like G1 or W0: - The first character is the terrain/area type (e.g., G, W, S). - The d...
Count islands in a binary grid
Problem You are given an m x n grid of characters where each cell is either '1' (land) or '0' (water). An island is formed by connecting adjacent land...
Implement an in-memory storage with TTL and scans
Problem Implement an in-memory storage system similar to a tiny key–field–value database. - Data model: a 2-level map key -> field -> value. - Each op...
Explain key ML metrics and techniques
You are asked a set of short conceptual machine learning questions. 1. Confusion matrix and metrics For a binary classification problem: - Def...
Compare Complete or Partial Hands
Implement a hand comparison engine for a simplified poker-like card game. Each player has a hand represented by an array of card strings. A card is en...
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...
Solve maze tasks and compute shortest routes
You are given two coding exercises from an interview loop. Problem A: Incremental “maze” codebase tasks (AI-assisted) You inherit an existing codebase...