Software Engineer Interview Questions
Practice 4,360 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."
Describe going beyond your scope
Describe going beyond your scope Behavioral & Leadership Prompt: Stepping Beyond Scope You are a Software Engineer interviewing onsite. Provide a conc...
Describe cross-team collaboration
Describe cross-team collaboration Behavioral & Leadership: Cross‑Team Collaboration (Onsite SWE) You are interviewing onsite for a Software Engineer r...
Choose optimal guesses for green-only Wordle
Problem You are playing a simplified 5-letter word guessing game. - There is a hidden secret word of length 5. - You have a dictionary of valid 5-lett...
Describe cross-team collaboration and learning from failure
Answer the following behavioral prompts using specific examples from your experience: 1. Cross-team collaboration: Tell me about a project where you w...
Compute longest increasing subsequence length
Coding Question You are given an integer array nums. Return the length of the longest strictly increasing subsequence (not necessarily contiguous). A ...
Determine a one-step string transformation
Given two lowercase strings source and target, determine whether target can be obtained from source using at most one of the following operations, and...
Explain GPS positioning and errors
Explain how GPS works at a high level. Your answer should cover how satellites and a mobile receiver estimate location, how signal propagation time is...
Find k pairs with smallest sums
You are given two sorted integer arrays arr1 and arr2 (each sorted in non-decreasing order), and an integer k. Consider all possible pairs formed by t...
Find right-side view of binary tree
You are given the root of a binary tree. From the right side of the tree, at each depth you can see exactly one node: the rightmost node at that depth...
Design an extensible request Retryer
Problem You are building a small library component called a Retryer that wraps an operation (typically a network call) and retries it on failure. Requ...
Build blog UI with API data and likes
You are asked to implement a small single-page web application in JavaScript (you may use any modern framework or plain JavaScript) to display and int...
Design a scalable tagging system
Design a scalable, multi-tenant tagging system that lets users attach multiple tags to arbitrary resources ("items") and query them efficiently. The s...
Design driver heat map and discuss consensus
Design driver heat map and discuss consensus Real-Time Driver Heat Map with Top-K Busiest Cells, Plus Paxos vs. Raft Context You are designing a real-...
Design banking payment scheduling system
Design banking payment scheduling system System Design: Banking Payment System Enhancements Context You are building a minimal bank-transfer payment o...
Compute earliest arrival in time-grid
Question LeetCode 778. Swim in Rising Water – Given an n x n integer grid where grid[i][j] is the earliest time you can enter the cell, starting from ...
Implement Document Predicate APIs
Design a simple document service that stores text documents identified by filename. Implement these APIs: - InsertDoc(filename, content): store or ove...
Determine Exact Layover Booking
You are given a layover duration target_hours and a list of experience durations durations, such as [2.0, 3.6], where each number represents the numbe...
Design A/B testing platform
Design an A/B Testing Platform (Architecture + Experiment Science) Context You are designing an A/B testing platform for a large-scale consumer web/mo...
Design prompts for JSON-only LLM responses
Design an LLM request that returns strict JSON only Context You are designing a backend call to an LLM for a technical screen (System Design & Enginee...
Compute nearest dashmart distances for queries
You are given an m x n grid where each cell is one of: -1 for a wall (impassable), 0 for a dashmart (a store), and INF = 2^31 - 1 for an empty room. M...