Software Engineer Interview Questions
Practice 4,084 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 Several Core Algorithmic Components
Solve the following independent coding tasks. 1. Implement an LRU cache. Design a class LRUCache with: - LRUCache(int capacity): initializes the...
Solve Two Algorithm Challenges
Solve the following independent algorithm problems. Problem 1: Maximize three non-overlapping variable-length subarrays You are given an integer array...
Implement Stable Softmax
Implement a function that computes the normalized exponential values of a list of real numbers. Given an array x of length n, return an array p of len...
Determine Redeemable Promotion Offers
You are given predefined objects for promotion offers and user redemption events. A PromotionOffer has: - offer_id - start_time - end_time - max_redee...
Spell Out a Nonnegative Integer
Given a nonnegative integer, return its English words representation. Implement a function that handles numbers from 0 through 2,147,483,647 inclusive...
Solve Adjacent-Deletion and Sorted-Square Problems
Solve the following coding problems. Discuss the approach and complexity before implementation. Problem 1: Remove adjacent duplicate pairs Given a str...
Implement Grid Spread and Transactional Store
You have two coding tasks. Task A: Compute Contamination Spread Time Given an m x n grid: - 0 means an empty cell. - 1 means a fresh item. - 2 means a...
Design an IP blacklist API
Design an API and backend service for an IP firewall blacklist system. The service should allow security administrators or automated abuse-detection s...
Solve Watcher Simulation And Integer Conversion
You are asked to solve two independent coding tasks. Task 1: Count players that reach the finish There is a one-dimensional track with integer positio...
Solve BST and Grid Query Problems
Solve the following coding problems. Problem A: Find the kth largest value in a BST You are given the root of a binary search tree and an integer k. R...
Implement an In-Memory File Storage System
Implement an in-memory file storage service. You need to support files identified by a unique full path string, such as "/docs/a.txt". Each file has a...
Implement TTL Cache and Tree Balance Reporting
Complete both coding tasks. Task A: Time-limited cache Design and implement an in-memory cache where every key expires after a time-to-live duration. ...
Implement Expiring LRU Cache
Implement an in-memory key-value cache with least-recently-used eviction and per-entry expiration. The cache has a fixed positive capacity. Each inser...
Find Words in a Character Grid
Implement findWords(board, words) for a word-search game. You are given an m x n grid of lowercase English letters and a list of lowercase dictionary ...
Solve Three Algorithm Variants
You are given three independent coding problems. For each one, describe and implement an efficient solution. 1. Generate queue arrangements - You a...
Implement Terminal Tabs and Split Panels
Implement a data structure that models a terminal application with multiple tabs and split panels. Requirements: - A Terminal can create and store mul...
Implement a Cloud Storage Service
Implement an in-memory cloud storage system. Build the class incrementally; later levels must preserve all behavior from earlier levels. File names ar...
Calculate Transaction Fees
You are building a payment processor. Each transaction has an amount in cents, a payment type, and a payment status. The platform charges a percentage...
Solve Union-Find, Graph, and Stream Problems
Solve the following independent coding problems. 1. Merge Product Categories You are given a list of tuples (productA, productB). Each tuple means the...
Find the Critical Path
You are given a project represented as a directed acyclic graph of tasks. Each task has: - a unique task name - a list of prerequisite task names - a ...