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."
Design a Redundant Railroad Crossing
Design a safe and redundant control system for an at-grade railroad crossing used by road vehicles and pedestrians. The system should detect approachi...
Count Connected Components in an Undirected Graph
You are given n nodes labeled from 0 to n - 1 and a list of undirected edges. Each edge is represented as a pair [u, v], meaning there is an undirecte...

Implement a Dependency-Aware Task Scheduler
Implement a TaskManager class with two methods: - AddTasks(tasks): add one or more tasks into the system. - ConsumeTask(): return and remove the execu...
Find minimum subarray length with k distinct integers
Given an integer array arr and an integer k, find the minimum length of a contiguous subarray that contains exactly k distinct integer values. Return ...
Build AI-Assisted Full-Stack Transactions App
Build a minimal full-stack app for monetary transactions This is the "AI coding" round: using an AI coding tool of your choice (e.g., Cursor), build a...
Describe your strongest project
What is the most impressive project you have worked on? In your answer, cover: - The problem/business goal and why it mattered - Your specific role an...
Design an Automated Ticket Investigation Agent
Design an AI-enabled agentic system that automatically investigates support or engineering tickets. The system should: - Read an incoming ticket and u...
Design rental watchlist and notification system
Design a Rental Listing Watchlist and Availability-Notification System You are designing a feature for a vacation-rental marketplace (Airbnb-style). A...
Debug and refactor a legacy module
Given a legacy module named DasherPicker and a failing test suite, systematically debug and refactor the code while following a provided review checkl...
Design several backend components
The interview note also referenced several low-level design and backend design questions. For each prompt, define the core APIs, data model, major cla...
Explain Redis/MySQL internals and containers vs VMs
Answer the following backend fundamentals questions clearly and succinctly: 1. Redis internals - What is Redis’s high-level architecture? - What...
How do you handle conflict and ambiguity?
You are asked a series of detailed behavioral questions. Answer each with specific context, actions, and measurable outcomes. Conflict, teamwork, and ...
Implement Memory Allocation and In-Memory Records
Solve the following two implementation problems. Problem A: First-Fit Memory Allocator You are given a contiguous block of memory containing n units, ...
Retain Top K Elements
Given a list of integers nums and an integer k, return a new list formed from the original list after removing every element except the k largest elem...
Design a Distributed Key-Value Store
Design a large-scale distributed key-value store similar to a simple NoSQL database. The system should support at least the following operations: - pu...
Decode a password string into letters
A password is encoded as a string s using the following rules: - Numbers "1" to "9" map to letters a to i. - Numbers "10#" to "26#" (two digits follow...
Solve two grid problems (islands + min-cost path)
You are given two separate coding questions. Problem A: Count distinct islands (translation-equivalent) Given an m x n binary grid grid (0 = water, 1 ...
Print all odd numbers from an integer list
Problem Given a list/array of integers nums, print (or return) every odd number in the list, in the same order they appear. Clarifications / follow-up...
Find mode in a trinary search tree
You are given the root of a trinary search tree where each node has up to three children: `text class Node { int val; Node left; // all values ...
Count Blocked Rate-Limited Requests
You are given an in-memory request log for a web platform. Each log entry has: - timestamp: an ISO-8601 UTC timestamp - request_ip: the client IPv4 ad...