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 longest increasing contiguous subarray
Problem You are given an integer array nums (length n). Part 1 Find the length of the longest contiguous subarray that is strictly increasing (i.e., f...
Design AI-Powered Document Search
Design a system where users upload documents and later search them by structured fields and free-text keywords. The system should use a multi-step AI ...
Minimize calls to find all bad test pairs
You have \(n\) atomic tests \(t_1, t_2, \dots, t_n\). You are given access to a black-box function: `python bool runTest(set<Test> S) ` which behaves ...
Answer hiring manager behavioral questions
Hiring manager round: behavioral questions Prepare structured answers to the following questions (with likely follow-ups). Use concrete examples from ...
Evaluate query ratios from equations
You are given equations of the form A / B = value where A and B are variable names (strings) and value is a positive real number. You also receive que...
Debug Queues and Solve Arrays
During the coding rounds, the interviewer asked several implementation problems: 1. Debug a priority queue. You are given an array-backed min-heap. Th...
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...
Implement a Hierarchical File System
Implement an in-memory hierarchical file system. Create a class FileSystem with the following methods: - FileSystem() initializes an empty file system...
Design Product Page View Tracking
Design a view-tracking system for a large e-commerce product detail page. When a shopper opens a product page on web or mobile, the system should reco...
Design Search Autocomplete
Design a large-scale autocomplete service for a search engine. As a user types a query prefix, the system should return the top 5 suggested full queri...
Design an in-memory hotel booking system
Design a hotel booking system that supports reservations without using any database. You may only use in-memory data structures. Requirements Define A...
Why Anthropic and its values?
This interview evaluates culture fit, value alignment, and critical thinking for Anthropic. Prepare one coherent discussion that addresses all of the ...
How do you perform a thorough code review?
You are given several Python backend files to review (treat this as an “OA in code-review format”). The code performs database operations such as SQL ...
Answer conceptual true/false and caching questions
You are asked several quick technical screening questions. Answer each with Yes/No and provide a brief justification. 1. (Integer representation) “64-...
Design Broadcast Scheduling APIs
Design a broadcast messaging service for companies. Requirements: - Each company has a set of subscribers. - A client can schedule a message to be bro...
Reconstruct a binary tree from traversals
Coding: Build a Binary Tree from Two Traversals You are given two integer arrays representing traversals of the same binary tree: - preorder: node ord...
Find Minimum Rooms Needed
You are given a list of meeting intervals, where each interval is represented as [start, end) and start < end. Two meetings conflict if their time ran...
Design backend to score and classify tweets
You are asked to build a small backend application that processes Twitter data and uses an external LLM-style API to score and classify each tweet. Re...
Design a hotel search and booking system
Assume you are asked to design a hotel search and booking service that runs inside a larger platform (similar to an online travel agency). Requirement...
Compute city skyline outline
You are given a list of rectangular buildings in a 2D city skyline. Each building is represented by three integers [L, R, H]: - L: the x-coordinate of...