Software Engineer Interview Questions
Practice 4,236 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."
Implement Game Physics and Block Mining
You are given two independent coding tasks from the same interview category. Solve both. Task A: Flappy-Bird-Style Jump Boundary Function Implement a ...
Design a one-to-one chat system
Design a one-to-one chat system for a web application. Assumptions: - Each user is active on at most one browser device at a time. - Group chat is out...
Consolidate On-Call Rotation Segments
You are given an array of on-call rotation intervals. Each interval has the form: `text {name: string, start: int, end: int} ` Each interval is half-o...
Answer Leadership Scenario Questions
In a behavioral interview for a software engineering role, answer the following prompts using clear, specific examples from your past work: 1. Describ...
Implement Datacenter Router Commands
Implement process_commands(commands) -> list[str] for a datacenter router simulator. The input is a list of command strings, and the function must ret...
Design an RSS News Feed Service
Design an RSS news feed service. The service should allow users to subscribe to RSS sources, ingest articles from those sources, store article metadat...
Answer Culture and Project Questions
Prepare answers for a hiring manager and culture interview covering the following prompts: 1. Describe a past project you are proud of. 2. What was th...
Design a Neighborhood Newsfeed System
Design a neighborhood-based social newsfeed system similar to Nextdoor. Users belong to neighborhoods and can see posts from neighbors, local groups, ...
Design an Ad Assignment API
Design an API that exposes the ad-assignment function as a production service. The service receives a user, a list of browser positions, and a set of ...
Debug a GRPO training loop and explain ratios
You are given a simplified implementation of a GRPO (Group Relative Policy Optimization) training step for an RLHF-style policy model. The training is...
How to stream a large file to 1000 hosts fastest
Problem You need to distribute a very large file stored in cloud object storage to 1000 servers in a data center. - The WAN link from cloud storage → ...
Design a Hierarchical File System
Design a hierarchical file system service from scratch without relying on an existing blob store. The system should support creating files and directo...
Design a Food Delivery Cart
Design the cart subsystem for a food delivery platform similar to Uber Eats. The cart should let users: - add, update, and remove items - choose item ...
Design follow/follower classes
Object-Oriented Design: Follow / Followers Relationship Design a small set of classes for a social product where users can follow and unfollow each ot...
Describe Deadline, Mistake, Problem-Solving, and AI Experiences
Answer the following behavioral interview prompts using clear, concrete examples from your past work, projects, internships, research, or coursework. ...
Simulate rover movement on a grid
You are building a rover navigation simulator. Part 1: Single rover on a 2D map You are given: - A rectangular 2D grid with coordinates (x, y). - A ro...
Design a Local Leader Election System
Design and implement a local leader-follower distributed system. You have multiple nodes running on one machine, each as a separate process or service...
Count Candies from Unlockable Boxes
You are given an object-oriented representation of boxes in a house. Initially, exactly one box is physically accessible. Each Box has: - A unique id....
Design Model Weight Distribution
Design a system for distributing large machine learning model weight files to a fleet of inference workers. Context: - Model weights may be tens to hu...
Implement Persistent Memoization LRU Cache
You are given a code skeleton for a memoization cache that wraps functions like a decorator. The cache is already implemented as an LRU cache using an...