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."
Solve Array Distance and Wiki Navigation
You are given two independent coding tasks. For each task, clarify edge cases, implement the function, and write meaningful test cases. Task 1: Minimu...
Design an Online Bookstore
Design an online bookstore platform. Customers should be able to search for books, view book details, add items to a cart, place orders, pay, and trac...
Compute letter frequencies from encoded string
Problem You are given an encoded string s representing a string of lowercase English letters (a–z). The encoding follows these rules: 1. Letters a to ...
Validate a Parent-Child Forest
You are given a list of directed edges, where each edge is represented as (parent, child). The edges describe parent-child relationships among nodes i...
Simulate Transaction Lock Scheduling
Implement an in-memory transaction lock simulator. You do not need to create real threads; you only need to simulate how transactions acquire locks, b...
Design A Scalable Web Crawler
Design a scalable web crawler that discovers, fetches, parses, and stores web pages for downstream use such as search indexing or content analysis. Yo...
Design an ACL authorization checking service
Design a centralized authorization (ACL) checking service used by other internal services to decide whether a principal can perform an action on a res...
Grid Robot Command Simulator
Grid Robot Command Simulator You are building a small command-driven robot simulator. A single robot lives on a 2D grid and is controlled by a stream ...
In-Memory File System: Create, Track Duplicates, and List
In-Memory File System: Create, Track Duplicates, and List Implement an in-memory file system that supports creating files and folders and listing the ...
Design nearest-available-taxi lookup with updates
You are building a backend service for a ride-hailing app. Taxis can come online (available) or go offline (unavailable) at any time. Clients need to ...
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 an LLM Agent System That Automatically Resolves Jira Tickets and Opens Pull Requests
Design an LLM Agent System That Automatically Resolves Jira Tickets and Opens Pull Requests You are asked to design an autonomous LLM-agent system tha...
Build a Local URL Shortener
Implement a local URL shortener that runs on a single machine. Design a small library or service with two core operations: - shorten(long_url) -> shor...
Simulate bus boarding with priority and wheelchairs
You are implementing a simplified bus boarding simulator. Model: - Person has at least: - id (string/int) - priority (boolean): if true, they shou...
Design a Metrics Storage Platform
Design a distributed backend for storing and querying application metrics. The system should collect time-series metrics from many services running ac...
Model Direct-Sold DSP Orders
Design a data model for tracking a direct-sold demand order in a demand-side advertising platform. Context: - The platform manages advertiser demand a...
Determine balanced k values in a permutation
You are given a permutation p of the integers 1..n. For a number k (where 1 <= k <= n), call k balanced if there exists a contiguous subarray p[l..r] ...
Implement worker time and payroll tracker
You are building an in-memory worker management module. Each worker has metadata and a history of office attendance intervals. Implement the following...
Design IDE Sandbox and Payments
You are asked to discuss two system design prompts. For each one, define the users, functional requirements, non-functional requirements, APIs, core w...
Implement Social Follow Recommendations
Implement an in-memory social network graph with three operations: - follow(followerId, followeeId): record that one user follows another user. Duplic...