Software Engineer Interview Questions
Practice 4,357 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."
Derive max distinct frequencies for n items
Maximum Number of Distinct Frequency Counts in an Array Context You are given an array of length n ≥ 1 whose elements are arbitrary integers (values m...
Design a scalable calendar system
System Design: Multi-Tenant Calendar at Massive Scale You are designing a multi-tenant calendar platform used by hundreds of millions of users across ...
Explain data structure fundamentals
Explain how a hash map works internally: hashing, collision resolution strategies (separate chaining vs. open addressing), load factor, and resizing. ...
Compute rooms and verify tree completeness
This question has two independent algorithm problems on a single calendar/tree theme. Treat each Part as a self-contained coding exercise: implement a...
Design an asynchronous logger with formatting
Design an Asynchronous C++ Logger Using a Lock-Free Queue Context You are asked to design and implement an asynchronous logger suitable for a technica...
Merge customers and preserve history
Question Implement mergeCustomers(String oldId, String newId) for a payments/ledger platform. The call absorbs oldId into the survivor newId while pre...
Describe your operations experience and impact
Operations Experience (Behavioral & Leadership — Technical Screen) Provide a concise but concrete overview of your production operations experience as...
Maximize weighted subsequence pairs with wildcards
You are given a string s of length n consisting only of characters '0', '1', and '!'. Each '!' can be replaced by either '0' or '1'. For the final bin...
Find users with at least one valid session
You are given: - A list of log entries logs, where each entry is a string in the format: ` "userId action timestamp" ` - userId is a non...
Find k most frequent elements, discuss O(n)
Find k most frequent elements, discuss O(n) Given an integer array nums of length n and an integer k (where 1 ≤ k ≤ the number of distinct values in n...
Find largest subset sharing a common digit
You are given a list of two-digit integers (each from 10 to 99, inclusive). You want to select as many numbers as possible in one selection such that:...
Design a service aggregator with robust error handling
Design a service aggregator with robust error handling System Design: HTTP Aggregator With Deadlines, Resilience, and Observability Context Build an H...
Find minimum shuttle transfers
Find minimum shuttle transfers You are given a collection of shuttle loops, each represented by a list of stop IDs that the loop visits in perpetuity....
Design Scalable Product Backends
Across several system-design rounds, the following prompts were reported. For each, discuss requirements, APIs, data model, scaling, reliability, and ...
Design a ride-sharing system like Uber
Design a ride-sharing system. Requirements: - Riders request trips with pickup/dropoff. - Drivers send frequent location updates. - Match riders to ne...
Design a chat messaging system
Design a chat system similar to WhatsApp/Messenger. Requirements: - 1:1 and group chats. - Send/receive messages in real time when online; store-and-f...
Implement Prefix Match Filter
Design a data structure that stores a collection of prefix strings. Then, given a list of input strings, return every string that begins with at least...
Design personalized discovery recommendations
You are designing a personalized "Discovery" page for an AI-powered search/Q&A platform (similar to Perplexity). The Discovery page should show each u...
Design Historical Visit Tracker
Design an in-memory component that stores visit events of the form (visitor_name, timestamp) and supports historical queries. Requirements: - record_v...
Answer Behavioral Questions
Behavioral Interview (Software Engineer, Technical Screen) Context: Prepare concise STAR(L) stories (Situation, Task, Action, Result, Learnings) that ...