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."
Find shared courses between student pairs
Problem Set (Coding) You are given multiple coding questions from an interview. Implement each function as described. --- 1) Course Overlap You are gi...
Assemble async stream reads into objects
You are implementing a parser in C# that reads a binary stream containing a sequence of records. An interviewer provides these helper functions (you m...
Implement a versioned in-memory DB with CAS and history
In-Memory DB V2: TTL + Compare-And-Set/Delete + Historical Reads Implement an in-memory database keyed by (key, field) supporting TTL, conditional upd...
Explain how browser authentication works with JWTs
Explain, at a high level, how authentication typically works in a browser-based web app when using JWTs. Cover: - Where the token is stored (e.g., mem...
Choose root to minimize edge reversals
Problem You are given a connected graph with n nodes labeled 0..n-1 and n-1 directed edges. If you ignore directions, the edges form a tree (i.e., the...
Solve scheduling and tree path problems
You are given three separate coding problems (asked across two rounds). For each, write a function that returns the required output. Problem 1: Max cr...
Teach a networking concept to a beginner
Scenario You previously worked as a tutor/TA for a computer networking course. Prompt Pretend you are teaching a short mini-lesson (3–5 minutes) to a ...
Implement an in-memory key-field-value DB with TTL
In-Memory DB with TTL + Scan + Backup/Restore Implement an in-memory database storing records by (key, field) -> value with optional TTL. Data model /...
Design a Production-Ready URL Shortener
System Design: Production-Ready URL Shortening Service Goal Design a production-ready URL shortening service that can issue short links, resolve them ...
Solve Grid Path and Unique Substring
You are given two independent coding problems. For each problem, provide an implementation and analyze the time and space complexity. Problem 1: Find ...
Describe how you use Kubernetes
Describe how you use Kubernetes System Design: Practical Kubernetes (K8s) Use and Operations Context: In a technical screen, you are asked to describe...
Distinguish Permit Requirement Outcomes
Your platform helps determine whether construction projects require permits in different municipalities. The current system can record conditions unde...
Compute subtree sums with tree DFS
You are given an undirected tree with n nodes labeled 1..n and n-1 edges. The tree is rooted at node 1. Each node i has an integer value val[i]. Retur...
Design scheduled payments and cancellation
Question Design a scheduled payments service for Coinbase that lets users create, list, update, execute, and cancel future-dated payments — both one-t...
Determine equality of arbitrarily nested sets
Implement a function that determines whether two arbitrarily nested sets are equal. Sets are unordered and contain no duplicates; elements can be inte...
Present a project deep dive
Behavioral: End-to-End Project Deep Dive (Concise Slide Deck) In the project deep-dive round, the interviewer asks you to present one significant proj...
Design a log filtering and analytics service
Question Design a log-processing service that ingests application logs at scale and supports the following capabilities: 1. Filter logs by attributes ...
Select next Hangman letter
Given the current state of a Hangman game, implement a function that selects the next letter with the highest likelihood of appearing in the secret wo...
Optimize a compute kernel with a simulator
Performance Optimization Plan for a Compute Kernel Context You are given: - A compute kernel (single critical function or set of loops) to optimize. -...
Sum palindrome-change costs over all substrings
This is a three-part coding screen. Each part is independent — a string-algorithms problem, a SQL aggregation problem, and a shell-parsing problem — a...