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 Uber Eats-style search function
Design the search function for a large-scale food delivery platform similar to Uber Eats. A user opens the app and types a query into a single search ...
Design a Twitter-like service
Design a simplified Twitter-like system that supports: - Users can post short messages (tweets). - Users can follow/unfollow other users. - Home timel...
Implement text editor with undo/redo
Implement a TextDocument class that supports applying edit operations, reading the current content, and full undo/redo, based on the following Python ...
Minimize a String Using Allowed Swaps
You are given a string s of lowercase English letters and an array pairs, where each element pairs[i] = [a, b] means you may swap the characters at in...
Design a Payment Fraud Detection Service
Design a real-time fraud detection service for a payment platform. When a user submits a payment attempt, the platform calls your service before autho...
Design a URL Shortener
Design a URL-shortening service similar to TinyURL. The service should accept a long URL and return a short code, and later redirect requests for that...
Design an in-memory order matching engine
You are asked to design an in-memory order book / order matching system for a single electronic trading venue. The implementation language is C++, and...
Present a Project and Reflect
Prepare a short presentation about a project you worked on closely. Your answer should cover: - the problem statement and why it mattered - the contex...
Design a Real-Time Logging System
Design a logging/telemetry system for a large application platform. Requirements: - Many services send log or metric events to the system - Event subm...
Discuss culture and mission alignment
Behavioral: Culture & Mission Alignment Role: Software Engineer · Stage: Onsite (Virtual Onsite) · Format: Panel behavioral round Context You are inte...
Design an order-matching engine
In-Memory Limit Order-Matching Engine (Limit Order Book) Context Design and implement an in-memory, single-instrument limit order book that supports l...
Design a real-time game leaderboard
Design a real-time leaderboard for an online game. Requirements: - Players submit score updates frequently. - Query top N players globally and per reg...
Design an Online Judge and Live Comments
The onsite included two system design prompts: 1. Design an online judge platform where users submit code for programming problems. The system must su...
Explain scope and impact under pressure
Behavioral prompt (pressure-style) An interviewer repeatedly interrupts and challenges you to be precise. 1. Tell me about a project you led. 2. For e...
Implement Grid Spread and Transactional Store
You have two coding tasks. Task A: Compute Contamination Spread Time Given an m x n grid: - 0 means an empty cell. - 1 means a fresh item. - 2 means a...
Design a low-latency trading system
System Design: Low-Latency Electronic Trading Platform (Equities) You are designing a single-region electronic trading platform (exchange/ATS-like) th...
Implement cursor-based query pagination
You are building a small in-memory database that stores rows with the following fields: - id (string, unique) - score (integer) - payload (string) You...
Reverse even numbers in a list
Given an integer array nums, remove all odd numbers and return the remaining even numbers in reverse order (preserving no other ordering constraints)....
Implement a multi-rover Mars controller
Problem Build a small command-line “Mars Rover Controller” program. Single rover (v1) A rover starts at coordinate (0, 0) on an infinite 2D grid and i...
Design device logging system with offline upload
Design a logging system that collects logs from many client devices, uploads them to the backend, and makes them viewable in a web UI within 3–5 minut...