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 a basic banking system
Design a Basic Online Banking System with Safe Money Movements Problem Design a minimal but production-minded online banking service. The service must...
Design Queue And Taxi Matching Services
Answer both independent system design prompts. For each one, clarify requirements, propose APIs, describe core data models, explain the architecture, ...
Explain project choices, metrics, and AI usage
Behavioral / Project deep-dive You’ll be asked to walk through a recent project you worked on (preferably one with meaningful technical and business i...
Implement a hash table with put/get
Problem Implement a simplified hash table (hash map) data structure from scratch. Required API Design a class HashTable with: - HashTable(int numBucke...
Reverse last two characters with space
Problem Given a non-empty string s with length at least 2, output a new string consisting of the last two characters of s in reverse order, separated ...
Compute dasher pay from order events
Dasher naive pay (active-time with overlapping orders) You are given a list of events describing when a delivery driver ("Dasher") accepts and fulfill...
Implement a thread-safe rate limiter
Design and implement a per-user API rate limiter. Requirements: - Method: boolean allow(String userId, long nowMillis) returns whether the request is ...
Detect currency arbitrage with costs
You are given a K×K matrix R of currency exchange rates where R[i][j] is the amount of currency j obtainable for one unit of currency i, and R[i][i] =...
Explain C++ vector, unordered_map, and virtual functions
Explain C++ vector, unordered_map, and virtual functions In C++, explain: - The amortized and worst-case time complexity of vector::push_back, and how...
Design refundable transaction ledger and prioritization rules
Design and implement a transaction ledger that ingests a stream of records where each record is either a payment or a refund. Each payment has {id, us...
Compress vertices into uniques and indices
You are given an array of vertices (a 2D array). Each vertex may repeat. Implement a simple “compression” that produces: 1. unique_vertices: the list ...
How to maximize rewards with exactly k tasks
You are assigning n independent tasks to two interns. - Each task must be done by exactly one intern. - If intern 1 does task i, you earn reward1[i] p...
Find minimum-latency path across dependent services
You are given a set of services and directed dependencies between them. Each dependency edge represents a call from one service to another with a know...
Compute sums and maximum path in a tree
You are given a binary tree whose nodes store integer values. You must implement your own Node class (e.g., val, left, right). Task Write a function t...
Decode a JWT string without libraries
Implement a function that decodes (but does not necessarily verify) a JWT token. A JWT is a string of the form: ` <base64url(header)>.<base64url(paylo...
Describe handling deadlines, pride, and conflict
Behavioral questions Answer the following interview prompts with concrete examples from your past work/school/internships: 1. Tight deadline: Tell me ...
Construct smallest number from I/D pattern
Problem You are given a string pattern consisting only of the characters: - 'I' meaning the next digit is increasing - 'D' meaning the next digit is d...
Compute product of array except self
Problem Given an integer array nums of length n, return an array ans of length n where: - ans[i] = (nums[0] nums[1] ... nums[i-1] nums[i+1] ... ...
Design a Top-K trending items service
Design a system that returns the Top K items (e.g., videos/posts/products) by popularity. Requirements - API to fetch: GET /topk?window=10m&k=100 retu...
Design a simple greeting-card web app
Design a web application for creating and viewing text-only greeting cards with an emphasis on shipping quickly (MVP). Core user stories - A user can ...