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."
Format VARCHAR amounts into $ with M/B suffix
You are given a table transactions with: - id (primary key) - amount_str (VARCHAR): a numeric string representing an amount in dollars (e.g., '950', '...
Design a waitlist system with top/bottom K
Object-Oriented Design: Waitlist System Design and implement (at the class/interface level) a waitlist system that supports the following operations: ...
Handle conflict and missed delivery deadlines
Answer behavioral questions covering: 1. Conflict: Describe a time you had significant conflict with a teammate/stakeholder. What caused it, what did ...
Find the longest palindromic substring
Problem Given a string s, find the longest contiguous substring of s that is a palindrome (reads the same forward and backward). Input - A string s co...
Design query pagination for large datasets
Scenario You are building an API that returns a paginated list of records from a very large dataset (millions+ rows). Clients can specify: - Filters (...
Compute sparse dot product and count islands
You are asked to solve two coding problems. Problem 1: Sparse vector dot product Given two vectors A and B of the same length n (potentially large, e....
Find largest file in a directory using Bash
Write a Bash command (or short script) that, given a directory path, returns the largest regular file under that directory. Requirements: - Search rec...
Design a simple API rate limiter
Design a rate limiter for an API. Scenario You operate an HTTP API (e.g., /v1/*). You need to prevent abuse by limiting request rates. Requirements (c...
Compute final prices with next smaller discount
You are given an integer array prices of length n, where prices[i] is the original price of the i-th item. For each item i, find the first index j > i...
Solve cache, grid path, and substring problems
You are given three independent coding tasks. 1) Bounded cache with eviction Design a data structure that stores key–value pairs with a fixed capacity...
Can you visit all rooms and score parentheses?
Problem 1: Visit all locked rooms with keys There are n rooms labeled 0..n-1. All rooms are locked except room 0. - When you enter room i, you find a ...
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...
Find smallest common organization for employees
You are given an organization structure and employee-to-organization membership. Define any reasonable data structures you need. Part 1 (base) Assume ...
Remove duplicates from a singly linked list
You are given the head of a singly linked list of integers. Modify the list in place so that it contains only the first occurrence of each value (i.e....
How do you manage collaboration and stakeholders?
Scenario You are interviewing for a Lead Frontend Software Engineer role. Prompt Answer the following leadership/behavioral topics with concrete examp...
Design a frontend shopping cart and feature flags
Scenario You are designing frontend-focused systems for a large e-commerce web app. Part A — Shopping cart (frontend focus) Design the shopping cart e...
Design reliable high-volume chatbot system
You are designing the backend for a chatbot / AI assistant service (similar to a support bot or meeting assistant). Many users may send messages at th...
Implement Concurrent Utilities in C++
Implement two related C++ concurrency tasks. 1. Templated parallel execution utility: Write a generic function or class template that accepts a slow c...
Implement a Snapshot Set Iterator
Implement a data structure SnapshotSet<T> with the following interface: `java interface SnapshotSet<T> { void add(T e); void remove(T e); ...
Design low-latency large-scale hotel booking system
You are asked to design the backend for a large-scale hotel booking system that runs behind a very high-traffic consumer app (think a TikTok-like app ...