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."
Implement LRU/LFU cache with custom eviction
You are asked to implement an in-memory key-value cache with a fixed capacity. When the cache is full and a new item must be inserted, an eviction pol...
Design favorites and social game recommendations
Problem Design a backend system for a gaming app that supports: 1. Favorites ("Fav"): users can favorite/unfavorite games and view their favorites lis...
Design a URL Shortener
Design a URL shortening service similar to Bitly. The system should support: - Creating a short URL for a given long URL - Redirecting a short URL to ...
Implement an asyncio-based chat server
Async Chat Server (Python asyncio) Build a TCP chat server using Python's asyncio. The server listens on a given port and serves many concurrent clien...
Explain PM collaboration and AI code quality
Answer the following behavioral and leadership questions: 1. How do you typically collaborate with Product Managers during product development? 2. Som...
Solve Refueling and JSON Parsing Tasks
Solve the following two independent coding tasks. Task 1: Minimize refueling stops You are driving from position 0 to a destination at distance target...
Design a hotel reservation system
Design an online hotel reservation system. The system should allow customers to search for hotels, view available room types, create a reservation, an...
Solve friend recommendations and time-versioned maps
Solve the following two coding problems. Problem 1: Friend recommendation from weighted likes You are given a directed weighted graph of users. Each r...
Design document editor with undo/redo and batching
Design a document-editing layer that supports applying edits and undo. Implement an API with apply(Operation op), undo(), and getText(). Then add tran...
Answer OoO, caches, and memory-system questions
You are interviewing for a CPU/DV role. Provide clear explanations (and small worked examples where useful) for the following computer architecture to...
Design a Data Stream Processor
Design a real-time data stream processing system for application events. Each incoming event contains fields such as event_id, creator_id, event_type,...
Solve Array, Matrix, and Recommendation Problems
During an onsite coding interview, solve the following independent tasks. Problem 1: In-place unique prefix You are given a nondecreasing integer arra...
Count queen attacks on points with blockers
You are given positions on an (unbounded) 2D integer grid. - queens: coordinates of queens - points: query coordinates A queen attacks along 8 directi...
Find degrees of connection in a LinkedIn graph
You are given an undirected graph representing professional connections: - n people labeled 0..n-1 - a list of undirected edges connections, where (a,...
Implement account scheduler with locking and LRU
Design a class AccountScheduler that manages the time-based availability of a fixed set of account IDs. Initialization You are given: - accounts: a li...
Compute cart total with best promotion
Assume you are implementing a checkout price calculator for an online shopping cart. You are given: - A list of items in the cart. Each item has: - ...
Design a blob storage system for lunar environment
You are asked to design a blob storage system deployed on a lunar base. The interviewer is intentionally making the environment unusual (the Moon) to ...
Implement Python feature and resolver metaprogramming
You are given a skeleton for a small Python "feature" framework. The goal is to use metaprogramming to: 1. Parse type-annotated classes into Feature o...
Walk Through One Past Project
Pick one project you personally worked on and explain it in depth. Cover the problem it solved, the users or customers, the main requirements, the arc...
Design CRUD APIs with async jobs
Scenario Design a small backend service that manages a core entity with CRUD operations and also supports an asynchronous background job triggered by ...