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."
Transform sparse time-code stream to dense rows
Problem You are given: - A fixed set of M distinct codes (strings). The column order of the output matrix is the lexicographic order of these codes. -...
Implement Fibonacci generator, balanced BST, frozenset
You are coding in Python. Implement the following three tasks. Unless explicitly allowed, do not use Python built-in container types (list, dict, set,...
Parse logs and count error codes
You are given application log lines. Each line is expected to follow this format: ` [LEVEL] timestamp, eventName, errorCode, text ` - LEVEL is a singl...
Solve tree and DP problems
This coding round contained two algorithm questions: 1. Deepest shared ancestor in a binary tree You are given the root of a binary tree and two ...
Can All Courses Be Completed?
Can All Courses Be Completed? You are enrolling in a program with numCourses courses, labeled 0 to numCourses - 1. Some courses have prerequisites: yo...
Describe project impact and critical feedback
Prepare for two behavioral prompts commonly asked in a software engineering onsite interview: 1. Describe a project you are proud of Explain the bu...
Merge intervals and design rating APIs
Problem 1: Merge overlapping intervals You are given a list of closed intervals intervals, where intervals[i] = [start_i, end_i] and start_i <= end_i....
Compute product of array except self
Problem Given an integer array nums of length n, return an array ans of length n where: - ans[i] = (nums[0] nums[1] ... nums[i-1] nums[i+1] ... ...
Design a crossword puzzle solver system
Design a crossword puzzle solver Design a system that can solve a crossword puzzle. Inputs - A 2D board grid: - Some cells are blocked (black square...
Compute sums and max path in N-ary tree
You are given the root of an N-ary tree (each node can have 0..k children). Implement the Node class yourself. Assume each node stores an integer valu...
Answer leadership and quality tradeoff questions
Answer the following behavioral questions with specific examples. 1. Describe a project you led. Why was it challenging? 2. Have you changed any hobbi...
Minimize maximum height along a grid path
You are given an m x n grid heights of distinct integers representing terrain heights. You start at the top-left cell (0,0) and want to reach the bott...
Design log-query stream processor
Design log-query stream processor Stream Processor: Query Registration and Log Tagging Context You are designing a streaming component that ingests a ...
Can two names match with ≤2 swaps?
You are given two restaurant names represented as strings s and t of equal length (same character set, case-sensitive). In one operation, you may swap...
Design a Slack-like messaging system
Design a Slack-like real-time team messaging system. Requirements: - Users can: - Create and join workspaces. - Create public and private channels...
Solve Graduate Trader Probability Questions
A graduate trader online assessment reportedly included the following quantitative reasoning, probability, and logic questions. Solve each problem. 1....
Assign tennis bookings to minimum courts
Expanding Tennis Club (Interval Scheduling) You run a tennis club with an unlimited number of courts. Each booking has a start and finish time. `text ...
Design a restaurant reservation system
Design an end-to-end restaurant reservation system. The system should allow users to: - Search restaurants by location/time/party size - View availabi...
Design restaurant shift scheduling
Design the backend for a restaurant workforce scheduling system. A company operates many restaurants. Each restaurant has employees and managers. Ever...
Build a React color multi-select dropdown UI
Implement a React UI that lets users multi-select colors from a dropdown and view details. You are given a JavaScript object where each key is a color...