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."
Count islands by requested sizes
You are given a 2D grid of characters '0' and '1', where '1' represents land and '0' represents water. An island is a maximal group of horizontally/ve...
Design a video streaming platform like Netflix/YouTube
System Design Design a large-scale video streaming platform similar to Netflix/YouTube. Core user stories 1. Upload (creator) / ingest (studio) videos...
Solve order-statistics and XOR-triplet problems
You are given two separate algorithmic problems. Problem 1: Count smaller elements to the right Given an integer array nums of length n, for each inde...
Validate hiring request under role constraints
Problem You are building a simple HR assignment validator for a platform with companies, employees, and job roles. When the system receives a request ...
Find a split-stay booking across listings
You are implementing a simplified split-stay search. You are given: - A desired trip interval [start, end), where dates are represented as integers (e...
Design a live-stream comments system
System Design: Live-stream comments (YouTube Live-style) Design a system that supports real-time comments for live video streams. Core features - User...
Explain OS details and C++ standard differences
Interview prompt You are asked a few environment and language-knowledge questions: 1. Development environment - What computer do you use (e.g., Mac...
Build a responsive grid of fixed boxes
Task (React/CSS) Render a list of square “boxes” on a page: - Initially there are 10 boxes. - Each box is 100px × 100px. - Boxes should lay out left-t...
Find when failures started in log stream
You are given an array of log entries sorted by timestamp ascending. Each log entry contains: - timestamp (monotonic increasing) - status ∈ {OK, FAIL}...
Find longest common subsequence length
Given two strings s and t, compute the length of their longest common subsequence (LCS). A subsequence is obtained by deleting zero or more characters...
Answer core Meta behavioral questions
You are in a behavioral interview for a software engineering role. Answer the following questions with concrete examples from your experience (interns...
Return a topological ordering of a graph
Problem: Output a topological ordering Given a directed graph with n nodes labeled 0..n-1 and a list of directed edges edges, return a topological ord...
Bracket substrings matching any pattern
Problem You are given a sentence s (words separated by single spaces) and a list of strings patterns. For each word in the sentence, if the word conta...
Design an encrypted log collection system
Scenario Design a log collection system that gathers logs/events from services running in multiple edge data centers and delivers them to a central pl...
Design a course registration system
System Design: Course registration () Design an online course registration system for a university. Core user stories 1. Students can: - search/bro...
Maximize sum with no adjacent tree nodes
Given the root of a binary tree where each node contains an integer value (can be 0 or positive), choose a subset of nodes such that no selected node ...
Solve classic coding interview problems
Solve the following algorithmic problems: 1. Egg testing with limited resources: You are given k identical eggs and a building with n floors. An egg b...
Describe conflict where you yielded to others
Describe a time you had a conflict or strong disagreement at work, but ultimately decided to follow someone else’s approach instead of your own. In yo...
Explain use cases for clock synchronizers
Assume you are designing a digital system with multiple clock domains. The clocks have different frequencies and unknown phase relationships. You can ...
Explain handling a tight project deadline
In a behavioral interview for a software engineering or technical role, you are asked: > Describe a time you had to work under a very tight deadline. ...