Software Engineer Coding & Algorithms Interview Questions
Practice 2,712 real Coding & Algorithms interview questions for Software Engineer roles. From companies including Meta, Amazon, Google, Uber, Microsoft.

"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."
Track the Running Median of an Integer Stream
Track the Running Median of an Integer Stream Problem Implement runningMedianTwice(values) -> mediansTwice. Process values from left to right. After e...
Determine Redeemable Promotion Offers
This question evaluates proficiency in event-stream processing, stateful counting, timestamp filtering, and enforcing business constraints for limited...
Implement crawler and bracket validator
Implement two tasks: ( 1) Write a function crawl(start_urls, fetch, max_depth, domain_filter) that visits pages starting from the given seed URLs usin...
Compare Complete and Partial Poker Hands
This question evaluates algorithmic problem-solving, combinatorial reasoning about incomplete information, and the ability to encode domain-specific r...
Solve Tree Columns And Maze Variants
This question evaluates tree traversal and column-based grouping skills along with grid-based graph search, state modeling, and handling dynamic maze ...
Solve interval merge and string dedup problems
You are given three coding questions from a phone screen. Solve each independently. 1) Merge overlapping intervals Input: A list of intervals interval...
Return Elements Greater Than the Overall Average
Return Elements Greater Than the Overall Average Implement above_average(values). Compute the arithmetic mean of the entire non-empty integer list, th...
Find the Most Frequent Character with a Tie-Breaker
Find the Most Frequent Character with a Tie-Breaker Implement most_frequent_character(text). text is a non-empty string of lowercase English letters. ...
Implement a simplified grep with extensible flags
Problem Implement a simplified version of grep that searches a text file and returns the lines that match a given query string. You should focus on cl...
Count Ordered Sequences That Sum to a Target
Count Ordered Sequences That Sum to a Target Given a positive target n and a set of unique positive order sizes, count the distinct ordered sequences ...
Find Valid IP Addresses in Files
You are given an absolute or relative path to a directory on the local file system. Write a program that recursively traverses every subdirectory unde...
Determine validity after digit-constrained deletions
Determine validity after digit-constrained deletions You're given a string S of length n consisting only of '(' , ')' , and digits '0'–'9'. For every ...
Maximize Boxes Stored Through One Entrance
This question evaluates array manipulation, constraint reasoning, and optimization skills, touching on greedy and combinatorial allocation concepts un...
Implement IPv4 iterators and CIDR expansion
Problem: IPv4 Iterators and CIDR Expansion You are implementing utilities to iterate over IPv4 addresses. An IPv4 address is in dotted-decimal form: A...
Explore an HTTP Maze
You are given an HTTP API that represents a maze-like forest. The entrance is available at GET /mirkwood. Each location in the forest is identified by...
Implement concurrent structures and debug queue code
The coding rounds covered several implementation and debugging tasks: 1. Implement an LRU cache that supports get(key) and put(key, value) in constant...
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...
Build a Wordle-style game in React
Task Implement a simplified Wordle-style game as a small React app. No styling/CSS is required (plain HTML output is fine). Game rules (assume Wordle-...
Implement common data-structure and JS tasks
This multi-part prompt evaluates core competencies in data structures and algorithms (time-based key-value design, duplicate removal in sorted linked ...
Implement in-memory data structures and booking API
This question evaluates proficiency in data structures and algorithms, systems-level data modeling, and practical API design by testing in-memory key-...