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."
Solve Matrix, Tree, Nested, LCA, Maze Tasks
Answer the following independent coding tasks. For each task, implement a clean API, handle edge cases, and analyze time and space complexity. 1. Trav...
Find cheapest flight with at most K stops
Problem You are given a directed weighted graph representing flights between cities. Inputs - An integer n: number of cities, labeled 0..n-1. - A list...
Determine Threshold-Constrained Connectivity
You are given an undirected weighted graph with n nodes labeled from 0 to n - 1 and a list of edges, where each edge is represented as (u, v, w) meani...
Solve Union-Find, Graph, and Stream Problems
Solve the following independent coding problems. 1. Merge Product Categories You are given a list of tuples (productA, productB). Each tuple means the...
Build a Pivot Table Aggregator
Implement a function that builds a pivot table from a list of records. Each record contains a row_key, a column_key, and a numeric value. Requirements...
Simulate and Construct Tournament Rankings
You are given a single-elimination tournament represented by an array of ranks. The array is a permutation of the integers 1..n, where a smaller numbe...
Generate Per-Position Guess Feedback
You are building a word-guessing feedback function. Given two strings, target and guess, of the same length, return an integer array feedback where ea...
Solve three classic coding problems
You are given three independent coding tasks. Implement a function for each. 1) Longest Increasing Subsequence (LIS) Given an integer array nums, retu...
Return dictionary words matching a prefix
You are given a list of strings words (a dictionary) and a string prefix. Return all words in words that start with prefix. Clarifications/constraints...
Implement Text Layout and Query Parsing
This interview note described two coding tasks. 1. Format multiple articles into lines Write a function that takes: - articles: a list of articl...
Decode an anagram sentence using vocabulary constraints
You are given: - vocab: a list of lowercase words (the "dictionary") - s: a string containing space-separated scrambled words Each scrambled word in s...
Determine if a 14-tile hand is winning
You are given an integer array tiles of length 14 representing a Mahjong-like hand. Each integer is a tile value from 1 to 9 (single suit). You may re...
Compute buffet revenue with capacity and waiting
A casino buffet has a maximum capacity capacity (number of customers that can be seated at once). You are given: 1) prices: an array where prices[i] i...
Evaluate variables in simple arithmetic DSL
You are given a small DSL (domain-specific language) consisting of variable assignments, one per line. Each line has the form: `text <identifier> = <e...
Describe Project and Collaboration Stories
Prepare behavioral interview answers for the following prompts: 1. Tell me about a project you found especially interesting. 2. Describe a story invol...
Apply sliding window techniques
Apply sliding window techniques Explain the sliding window technique and apply it to solve: ( 1) Given an array of positive integers and a target S, r...
Design a cloud storage service
Design a cloud storage service System Design: Cloud Document Storage and Sharing Service Context Design the backend for a large-scale cloud document s...
Answer Amazon Leadership Principles questions
Answer Amazon Leadership Principles questions Behavioral Interview Prep: Amazon Leadership Principles (Software Engineer, Onsite) Context You are prep...
Detect memory leaks in C++
Detect memory leaks in C++ C++ Memory Leaks: Detection, Integration, and Prevention You are building or maintaining a C++ service/library and need a p...
Explain your project system design
Explain your project system design System Design Walkthrough: Project You Owned Context: In an onsite system design interview for a Software Engineer ...