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."
Implement File Tail and Sensor Health
This interview included two coding tasks. 1. Print the last N lines of a file You are given a very large newline-delimited text file and a limited ...
Explain projects and handle AI-safety conflicts
Behavioral / Hiring Manager round 1. Walk through 1–2 key projects from your resume. - What was the goal and why did it matter? - What was your ...
Merge two sorted arrays in-place
Given two arrays arr1 and arr2, both sorted in ascending order. - Modify arr1 in-place to contain all elements from arr1 and arr2 in ascending order. ...
Implement polynomial multiplication API in C
Problem Implement an API in C to multiply two polynomials. A polynomial is represented by its coefficients. You must define the input and output forma...
Solve Three Coding Problems
The interview included three coding problems: 1. Streaming top-k class. Design a class for an integer stream with a fixed parameter k. It should suppo...
Design Robust Large-Input Processing
The string-reduction algorithm above is now part of a backend service. Each job reads a text object from S3-compatible storage, applies the transforma...
Remove Repeated Character Groups
You are given a string s and an integer k. Repeatedly remove any contiguous group of k identical characters. After a removal, the remaining parts of t...
Find viewing direction that sees most points
You are standing at the origin on a 2D plane. You are given a list of points points[i] = (xi, yi) (not necessarily distinct), and a viewing angle thet...
Implement BFS-based maze solver
Maze Printing and BFS Solver You are given a 2D grid representing a maze. Each cell of the grid is one of: - '#' – wall (cannot be passed) - '.' – emp...
Merge Weekly Time Intervals
You are given a list of time intervals within a single week. Each time is written as a day-of-week plus a 24-hour clock, for example Sat 13:00 or Mon ...
Why do you want to join this company?
In a hiring-manager interview, you are asked: - Walk me through your past experience and the impact you’ve had. - Why do you want to join this company...
Implement Task Management and Duplicate Detection
You are given two independent coding tasks from a software engineering interview. Task 1: Build an in-memory task management system Implement an in-me...
Design KV store with sliding-window QPS metrics
Problem Design an in-memory key–value store that supports basic operations and can report the average operation load over a recent time window. Functi...
Implement stateful connection router simulator
You are implementing a simplified connection router / load balancer for a Jupyter-like multi-tenant server system. There are N target servers, indexed...
Compute Total Manual Distance
A package must be delivered on a one-dimensional line from position 0 to position target. You are given an array stations, where each element is the p...
Compute minimum time with task cooldowns
You are given a multiset of task types represented by uppercase letters (e.g., A, A, A, B, B, C). Each task takes exactly 1 time unit to execute. Runn...
Design a scalable resume search system
Design a scalable resume search system System Design: Resume Search Platform Context A recruiting company needs a platform where applicants can upload...
Implement an LRU cache
Problem: LRU Cache Design and implement a data structure that supports an LRU (Least Recently Used) cache with a fixed capacity. Requirements Implemen...
Design a social network with snapshots
You are asked to design and implement an in-memory SocialNetwork class that supports users following each other and creating snapshots of the follow g...
Design a Parking Garage Object Model
Design an object-oriented model for a multi-level parking garage. The garage should support: - Multiple floors and parking spots. - Different vehicle ...