Software Engineer Interview Questions
Practice 4,084 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."
Find the Critical Path
You are given a project represented as a directed acyclic graph of tasks. Each task has: - a unique task name - a list of prerequisite task names - a ...
Find Fastest Commute Mode
You are given a 2D city grid containing: - S: starting location - D: destination - X: blocked cell that cannot be entered - 1, 2, 3, 4: cells usable b...
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...
Handle Cross-Team Alignment and Mistakes
The behavioral round focused on three prompts: 1. How do you align requirements across teams? 2. What is the biggest mistake you have made at work? 3....
Compute Infection Time in a Grid
You are given an m x n grid where each cell is one of the following: - 0: empty - 1: healthy - 2: infected Every minute, each infected cell spreads th...
Implement Disease and Friend Snapshot Models
You are asked to solve two independent coding problems. Problem 1: Simulate disease spread on a contact graph There are n people labeled 0 through n -...
Merge Sorted Arrays
You are given two related tasks about sorted integer arrays. 1. Implement a function that takes two arrays sorted in nondecreasing order and returns a...
Calculate Circular Route Query Distance
You are given a circular route with n stops numbered 0 to n - 1. The array distances has length n, where distances[i] is the clockwise distance from s...
Implement a Versioned Key-Value Store
Design and implement an in-memory versioned key-value store. Requirements: - put(key, value, timestamp): store value for key at the given integer time...
Compute Earliest Completion Times
You are given n tasks numbered from 0 to n - 1. Each task i has a positive duration duration[i]. You are also given a list of prerequisite relationshi...
Solve Triangle Rows and Top Frequencies
You have 1 hour to solve both coding problems. Problem 1: Build an Additive Number Triangle Given an integer numRows, return the first numRows rows of...
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...
Find High-Intensity Time Periods
Given a list of time-series readings, where each reading is {timestamp, intensity}, and a numeric threshold, return all maximal time periods during wh...
Implement an ASCII Art Printer
Implement an ASCII art printer. A font defines each supported character as a glyph with the same height. A glyph is a list of equal-length text rows. ...
Compute Products Excluding Each Index
You are given an integer array nums of length n. Return an array answer such that answer[i] equals the product of every element of nums except nums[i]...
Implement an In-Memory Database
Implement a simple in-memory relational database that processes a sequence of tokenized commands. You are given commands: List[List[str]], where each ...
Implement Stock Price Query APIs
You are given an initial collection of stock price records. Each record contains: - symbol: a stock name or ticker string - timestamp: initially a cal...
Solve Several Algorithm Problems
The interview included several coding tasks: 1. Longest symmetric substring: Given a string s, return the longest contiguous substring that reads the ...
Implement Calendar Layout and String Packing
The interview reportedly included two separate coding exercises: 1. Day-view calendar layout - You are given a list of events for a single day. Eac...
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: ...