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."
Design an online auction system
Design an online auction system (eBay-style). Requirements: - Users create auctions with start/end time and starting price. - Users place bids; system...
Compute minimum time with task cooldowns
You are given a multiset of task types represented by uppercase letters (e.g., A, A, A, B, B, C). Each task takes exactly 1 time unit to execute. Runn...
Design a high-scale URL shortener
Design a URL shortening service. Core APIs / Features - Create short URL: accept a long URL and return a short code / short URL. - Redirect: given a s...
How would you evaluate an AI feature?
You’re building an AI-powered feature (e.g., an AI assistant or AI-enhanced search). Interviewers ask: “How do you measure results and compare metrics...
Maximize protected population and bitwise AND
You are given two independent coding problems. Problem 1: Maximize protected population after moving units There are n cities in a line (indexed 1..n)...
Explain LLM fine-tuning and generative models
ML Fundamentals — LLM & Generative AI Track You are interviewing for an ML-focused engineering role. After a short résumé walkthrough, the interviewer...
How would you model stock price prediction?
Scenario You are asked to use machine learning to predict stock prices (or more realistically, predict future returns / price direction) for a trading...
How do you explain work to non-technical partners?
Behavioral questions 1. Communicating with non-technical people: How do you explain a complex technical/ML topic to a non-technical stakeholder (e.g.,...
Find first and last occurrence in sorted array
Problem You are given an array of integers nums sorted in non-decreasing order and an integer target. Return a pair of indices [first, last] such that...
Describe handling ambiguity and resolving design conflicts
Answer the following behavioral prompts with concrete examples (you can assume a software engineering role): Prompt A — Delivering with little guidanc...
Maximize 1D deliveries within distance and minimize total distance
You are given positions on a 1D line: - people: an array of N integers (positions of people) - shops: an array of M integers (positions of milk-tea sh...
Find minimum racks for 2D bin packing
You are given N machines. Machine i requires two types of resources: (x_i, y_i). Each rack has capacity (A, B) for the two resources, and a machine mu...
Handle Issues and Onboard Teammates
The manager and communication rounds focused on two prompts: 1. Tell me about a time you handled a cross-functional issue, operational incident, or di...
Implement Article Vote Tracking
We are building an in-memory vote management service for an online news platform. Users can upvote or downvote published articles, and we want to trac...
Solve Prime Jumps and Pipeline Scaling
An online assessment contains two independent coding problems. Solve both. Problem 1: Prime-Constrained Score Jump You are given an integer array scor...
Implement a persistent sharded key-value store
Problem Implement a simple key–value store that persists data on disk. You must store the data in fixed-size shards, where each shard is saved in one ...
Design a fair event registration queue API
Scenario Design an in-memory service (OOD-style) to manage registrations for an event where fairness means users are served strictly in the order they...
Find shared courses between student pairs
Problem Set (Coding) You are given multiple coding questions from an interview. Implement each function as described. --- 1) Course Overlap You are gi...
Find shortest subarray with at least k distinct
Problem Given an integer array nums and an integer k, find the length of the shortest contiguous subarray that contains at least k distinct integers. ...
Simulate room assignments for scheduled meetings
Problem You are given n meeting rooms labeled 0..n-1 and a list of meetings meetings, where each meeting is [start, end] with start < end. Meetings ar...