Software Engineer Interview Questions
Practice 4,357 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."
Determine Whether a Word Transformation Exists
Given a beginWord, an endWord, and a list of valid words wordList, determine whether it is possible to transform beginWord into endWord. Rules: - Each...
Compute Maximum Area Under Adjacent Bars
You are given an array heights of n non-negative integers. Each value represents the height of a vertical bar of width 1, and the bars are placed next...
Minimize Total Assignment Distance
You are given the coordinates of n analysts and m field devices on a 2D grid, where 1 <= n <= 10 and n <= m <= 15. Each analyst must be assigned exact...
Build a Quadtree and Analyze a Graph
Solve the following two coding problems. 1. Build a quadtree from an image You are given an N x N matrix of integers representing an image, where N is...
Explain CI/CD, Kubernetes delivery, and troubleshooting
You are interviewing for a DevOps/SRE-style role. Answer the following practical questions: 1) What is CI/CD? Which CI/CD tools have you used and why?...
Design an in-memory filesystem and circular queue
Part A — Design an in-memory hierarchical file system. Requirements: - Support operations: ls(path), mkdir(path), createFile(path, content), appendToF...
Solve Topological Sort and Anagram Indices
1) Given a directed graph (n vertices, m edges), return a topological ordering if one exists. If the graph contains a cycle, detect it and explain how...
Find root IDs and paths
You are given a collection of string blocks, each represented as a JSON object with fields {"id": string, "parentId": string | null}. A block is a roo...
How would you sort filenames with numeric segments?
You are given a list of filename strings (e.g., "file10.txt", "file2.txt", "10file.txt"). Implement a custom sort for these strings using a comparator...
Design a Dockerized GPU test pipeline
Design a Dockerized GPU test pipeline Design a Docker-Based Environment for Automated Graphics Tests on NVIDIA/AMD GPUs Context You need to design a r...
Explain linear algebra for graphics transforms
Explain linear algebra for graphics transforms MVP Pipeline, Homogeneous Coordinates, NDC, Screen Space, and Normal Transformation Context You are wor...
Design a metrics platform without alerting
Design a metrics platform (like a simplified Prometheus/Datadog metrics product) that supports collecting, storing, querying, and visualizing metrics....
Explain handling conflicts and learning from mistakes
Explain handling conflicts and learning from mistakes Behavioral Prompt: Disagreement and Mistake Reflection Context: You are interviewing for a Softw...
Determine whether points form squares
Problem: Square detection and counting from point coordinates You are given points on a 2D plane with integer coordinates. Part A — Validate a single ...
Design an appointment scheduling system
Design an appointment scheduling system for a clinic or similar business. The system should support viewing availability, creating appointments, accep...
Solve Signature, File, and Queue Problems
Solve the following interview-style problems: 1. Function signature matching You are given a registry of function definitions. Each function has an...
Design image upload end-to-end
Design image upload end-to-end System Design: End-to-End Image Upload Pipeline Context Design an end-to-end system that handles user picture uploads f...
Describe your proudest project and dive deep
Describe your proudest project and dive deep Behavioral Prompt: Project You’re Most Proud Of Context: Onsite software engineer behavioral interview. C...
Trace and reduce redundant curl requests
Instrument and Optimize a Client's HTTP Requests for a Workflow You are pair-programming with the interviewer. You have a client (a script or applicat...
Explain owning and debugging infra modules
Describe a time you were responsible for a storage/distributed-systems/infra component (or a similarly low-level, reliability-critical module). The in...