Software Engineer Interview Questions
Practice 4,429 real software engineer interview questions for 2026. Covers top employers like Google, Amazon, OpenAI, and Uber — real questions from actual onsites with detailed solutions — and is built for focused interview preparation. This collection emphasizes coding and algorithms first, then system design, performance, and role-specific domains so you can train the exact skills interviewers test. What’s distinctive: coding rounds still dominate at every company, Google often emphasizes algorithms and distributed-systems thinking, Amazon commonly probes scalable-services design and operational tradeoffs, OpenAI leans toward ML systems, model deployment and inference-scaling problems, and Uber typically asks real-time routing, geospatial and consistency challenges. Expect live coding, pair-programming, and whiteboard/system-design sketches. To prepare efficiently, drill medium-to-hard algorithm problems with time limits, practice end-to-end system design sketches focused on capacity and reliability, and rehearse concise behavioral stories that show ownership and impact.

"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."
Analyze food-delivery data
Analyze food-delivery data You are given data for a food-delivery platform: a set of restaurants (each with a menu of items and prices, plus a geograp...
Discuss leadership and conflicts
Discuss leadership and conflicts Behavioral & Leadership: Collaboration and Conflict Resolution Context You are interviewing for a Software Engineer r...
Compute dot product of sparse vectors
Problem You need to compute the dot product of two sparse vectors of the same dimension. Each vector is provided as a list of non-zero entries sorted ...
Implement firewall matching with CIDR rules
Implement a simple IPv4 firewall rule matcher. Problem You are given an ordered list of firewall rules. Each rule has: - an action: ALLOW or DENY - a ...
Simulate meeting-room bookings and return busiest room
You manage n meeting rooms labeled 0..n-1 and receive a list of meetings. Each meeting is an interval [start, end) with start < end. Process meetings ...
Find tree root and bucket numbers
You are given two independent tasks. Task 1: Find the root of a tree from adjacency logs You are given an unordered list of records describing a roote...
Generate NFT metadata and ensure uniqueness
You are implementing an NFT metadata generator. Each NFT is defined by selecting exactly one trait value from each trait category. You must generate a...
Compute dasher pay from order events
Dasher naive pay (active-time with overlapping orders) You are given a list of events describing when a delivery driver ("Dasher") accepts and fulfill...
Parse a nested list from a string
Given a string that encodes a nested list (ArrayList-like notation), parse it into an in-memory nested list structure. Input format - The string conta...
Reverse last two characters with space
Problem Given a non-empty string s with length at least 2, output a new string consisting of the last two characters of s in reverse order, separated ...
Explain Java concurrency and fix i++ race
Java 1. Java - ThreadRunnable/Callable - Java Memory Model - volatilesynchronizedLockAtomic* 2. i++ “/lost update” 3. - i++ - 4...
Design keyword search for social posts
Design a Facebook-like post search feature: - Input: one or more keywords. - Output: all (or top-K) posts that contain the keyword(s). - Assume posts ...
Count queen attacks on points with blockers
You are given positions on an (unbounded) 2D integer grid. - queens: coordinates of queens - points: query coordinates A queen attacks along 8 directi...
Validate whether a binary string is good
You are given a binary string s consisting only of characters '0' and '1'. Define a good string recursively by the grammar: - '0' is a good string. - ...
Describe contributions to production code
In a software engineering interview, the interviewer asks: > Have you ever contributed to any production code? How should you respond to highlight you...
Explain motivation for joining a company
You are interviewing for a software engineering role at an Internet infrastructure company (for example, a CDN and DDoS mitigation provider like Cloud...
Compute longest increasing path in matrix
You are given an m x n grid (matrix) of integers grid, where m >= 1 and n >= 1. A path in the matrix is a sequence of cells where: - You may move from...
Design top-K tracker with linked lists
Design top-K tracker with linked lists Design a data structure that tracks the top-K most frequent keys in a stream. Support operations increment(key)...
Design a prioritized log manager with eviction
Design a prioritized log manager with eviction Design a Log Store with Priority- and Recency-Aware Eviction Context You are designing an in-memory (or...
Solve string partition and equal-sum package problems
Solve string partition and equal-sum package problems 1) Given a string itemCategories (lowercase English letters) and an integer k (0 ≤ k ≤ 26), coun...