Software Engineer Interview Questions
Practice 4,360 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."
Assign Pins to Shortest Columns
You are given a list of pins, where each pin has a height, and a fixed number of columns in a masonry-style layout. Process the pins in their original...
Implement a Timestamped Banking System
Implement an in-memory banking system that processes API calls in nondecreasing timestamp order. Support the following operations: - create_account(ti...
Solve Two Coding Interview Problems
You are asked to solve two independent coding problems. Problem 1: Evaluate Nested Math Expressions Implement a function that evaluates a string expre...
Implement Task Dependencies and Failure
Implement a Python in-memory task manager for an AI workflow system. Each task has a unique task_id and a status. A task may depend on other tasks. If...
Solve power jumps and graph tour
This online assessment contained two coding problems: 1. Minimum operations using signed powers of two Given an integer n, you want to make it equal...
Design an In-Memory Database
Implement a simple in-memory database with a flexible, schema-less record model. Requirements: - Each record is a mapping from column_name to value. -...
Compute Inherited Role Privileges
You are given n roles. The array initialPrivileges has length n, where initialPrivileges[i] is the list of privileges directly assigned to role i. You...
Implement Multi-Level In-Memory Services
Implement the following independent multi-level in-memory service simulations. In an interview, you may receive one scenario and unlock the levels seq...
Assign Minimum Workers to Jobs
You are given a line-delimited text stream representing jobs. Each job record contains a start time and a duration, for example 1030 30, meaning the j...
Solve Knight and Reversal Problems
The online assessment contained two coding problems: 1. Generalized knight shortest path: Given an integer n, consider an n x n chessboard with coordi...
Design a Versioned Social Follow Graph with Friend Recommendations
Design a Versioned Social Follow Graph with Friend Recommendations Build an in-memory service that maintains a directed follow graph between users and...
Design a Payment System
Design a Payment System Design the backend payment system for an online platform that charges customers for goods and services (for example, a marketp...
Check connectivity between two subway stations
You are given a description of subway stations A, B, C, D, E, ... as a graph. For each station, you are told which other stations it directly connects...
Aggregate loans and match repayments
You are building a loan servicing tool. You are given two datasets. Part 1: Aggregate raw loan records Each raw loan record has the following fields: ...
Design a Real-Time Trending Hashtags System
Design the backend system that detects and serves trending hashtags from posts on a large social network (Facebook-scale). The service continuously in...
Maximum Length of a Word Selection With All Unique Characters
You are given an array of lowercase strings words. Select a subset of these words (zero or more, chosen in any order) and concatenate them. The select...
Minimum Round-Trip Flight Cost
You are planning a round trip and want to spend as little as possible on flights. You are given two integer arrays of equal length n: - departure[i] —...
Merge Two Lists of Non-Overlapping Intervals
You are given two lists of closed integer intervals, a and b. Each interval is represented as a pair [start, end] with start <= end, and it covers eve...
Rebalance shard ranges under overlap limit
You maintain a set of data shards. Each shard owns an inclusive integer key range [start, end]. `python class Shard: id: str start: int en...
Streaming Median Tracker
Streaming Median Tracker Design a data structure that ingests integers one at a time from a stream and can report the median of every integer inserted...