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 subscription push service
Design a subscription push service Object-Oriented Design: Publish/Subscribe Notification Service Design an object-oriented publish/subscribe notifica...
Design an Event Recommendation Engine
You are building an email marketing recommendation engine for a ticketing marketplace. The marketplace has many users and many events. The engine shou...
Solve Parser, Trading, Tree, And Deck Tasks
You will solve several independent programming tasks. For each task, implement clean, tested code and state the time and space complexity. 1. Validate...
Solve three easy algorithm problems
You are given three independent algorithmic tasks. For each one, explain your approach (no need to run code). 1) Merge two sorted lists (integers inst...
Can All Courses Be Completed?
Can All Courses Be Completed? You are enrolling in a program with numCourses courses, labeled 0 to numCourses - 1. Some courses have prerequisites: yo...
Implement tail N lines
Question Implement a utility tail(path: string, N: int) (and an equivalent stream variant) that prints the last N lines of input without loading the w...
Walk through a project deep dive
Behavioral Deep Dive: Walk Through an Impactful Project You are interviewing for a Software Engineer role. This is a hiring-manager (HM) round, not a ...
Design a thread-safe bounded queue
Design a Thread-Safe Bounded MPMC Queue with Timeouts and Fairness Context You are building a reusable, in-memory, bounded queue that supports multipl...
Compute shortest path between tree nodes
Question You are given the root of a binary tree (not necessarily a BST) whose nodes have integer values, and two target values u and v. Implement a f...
Design a Scalable Job Scheduler
Design a job scheduler for a small startup, then explain how you would evolve it to support roughly 100x more scheduled tasks. The system should: - Al...
Answer common Amazon behavioral questions
You are interviewing for a software engineering internship. Prepare strong answers (using the STAR framework) for the following behavioral questions: ...
Design real-time fraud detection under 50ms
Design a real-time fraud detection system for a payments company that processes millions of transactions per day. Requirements: - For each incoming tr...
Introduce yourself and explain why Bloomberg
Behavioral questions 1. Self-introduction / resume walkthrough - Give a 1–2 minute overview of your background. - Highlight 1–2 projects you’ve ...
Solve meeting-room scheduling and shortest paths
You are asked to solve two algorithmic problems. Part A: Meeting-room scheduling (intervals) You are given an array of meeting time intervals interval...
Answer range queries for alternating parity subarrays
Problem You are given an integer array nums of length n and q queries. Each query is a pair [l, r] (0-indexed, inclusive). A subarray nums[l..r] is ca...
Solve graph path, interval deletion, and robbery
Solve graph path, interval deletion, and robbery Part A — Optimal path with transport modes: You are given a directed weighted graph of a city. Each e...
Design an in-memory TODO list API
Object-Oriented Design: TODO List Design an in-memory TODO list component that supports the following operations: - add(todo) → returns an id - delete...
Compute time for virus to infect grid
You are given an m x n grid representing the state of individuals in a lab. - 0 = empty cell (no one) - 1 = healthy individual - 2 = infected individu...
Plan a major database version upgrade
You have an application tier (API/web servers) talking to a primary database for writes and a secondary/replica database for reads. You need to perfor...
Parse logs and count error codes
You are given application log lines. Each line is expected to follow this format: ` [LEVEL] timestamp, eventName, errorCode, text ` - LEVEL is a singl...