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."
Check palindrome number and next palindrome
Problem You are given a non-negative integer n. 1. Determine whether n is a palindrome in base-10 (it reads the same forward and backward). 2. Follow-...
Show Behavioral Fit and Experience
Show Behavioral Fit and Experience Behavioral and Leadership HR Screen — Software Engineer (Netflix) Context: This is an HR screen focused on your bac...
Compute sliding-window average excluding top k
Problem You are given an integer array nums, a window size windowSize = w, and an integer k. For every contiguous subarray (window) of length w as the...
Find a valid dependency order
You are given n tasks labeled from 0 to n - 1 and a list of dependency pairs dependencies, where each pair [a, b] means task b must be completed befor...
Estimate VRAM and compare model parallelism
You are a performance engineer reasoning about GPU memory and parallelism for a transformer-like workload whose runtime is dominated by large matrix m...
Implement staircase printing and distributed mode/median
Problem A: Print a “staircase” pattern Implement a function that prints a staircase with n rows. Input - An integer n (n >= 1) Output - Print n lines....
Find first 5-7-5 haiku in sentence
Find first 5-7-5 haiku in sentence Given a sentence containing mixed case and punctuation, and a syllable dictionary mapping lowercase words to their ...
Fix and harden an object pool
Fix and harden an object pool Refactor a Buggy C++ Object Pool Into a Correct, Thread-Safe Template Context You are given a buggy C++ object pool that...
Compute nested depth-weighted sum
You are given a nested structure containing integers and lists (e.g., [1, [4, [6]]]). Define depth of the top-level as 1. Compute the total sum of all...
Implement binary tree in-order traversal
Given the root of a binary tree, return the in-order ordering of its node values. Implement both a recursive solution and an iterative solution using ...
Design receipt system with combo discounts
Question You are building a point-of-sale ordering UI for a food-ordering workflow. You are given class stubs and a callback you must wire up: - Item(...
Design autonomous cloud monitoring and remediation
Design an AI-Assisted Monitoring and Auto-Remediation Service Context Design a service that monitors cloud applications across multiple providers, col...
Design and implement a bank account system
Design and implement a minimal banking service with the following capabilities: 1) Create bank accounts with unique IDs and an initial balance; suppor...
Explain a project concisely and deeply
Behavioral: Impactful Project — 60–90s Overview + Deep Dive Provide a concise 60–90 second overview of one impactful project you owned or led, then do...
Implement string-based big integer multiplication
Question Implement multiplyStrings(a, b) to multiply two non-negative integers given as decimal strings and return their product as a decimal string. ...
Define and measure article trending
Design “Trending” for Articles: Definition, Measurement, and Evaluation Context You are building a "Trending" ranking for an articles surface (e.g., h...
Design key management service
Design a Key Management Service (KMS) You are asked to design a production-grade, multi-tenant Key Management Service. A client provides a key identif...
Search target in unknown-length sorted array
You have read-only access to a sorted, increasing array-like interface of unknown length that supports get(i), which returns a valid integer for in-bo...
Optimize 0/1 to bounded knapsack DP
Solve the 0/1 knapsack problem: given arrays weight[i], value[i] for i=0..n-1 and capacity W, return the maximum value and reconstruct one optimal set...
Assess behavioral competencies across scenarios
Behavioral Competency Prompts (Software Engineer, HR Screen) Provide specific work situations that demonstrate each competency below. Use concise STAR...