Machine Learning Engineer + Data Scientist + Software Engineer Interview Questions
Practice the exact questions companies are asking right now.

"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."
Design an in-memory banking service
Design an in-memory banking service supporting timestamped operations and edge-case semantics. Implement: ( 1) create_account(id, t): Create a new acc...
Explain median vs mean for L1/L2
Median vs. Mean Under L1 and L2 Loss, and the 2D Extension Explain, with intuition and a brief derivation, the relationship between the choice of loss...
Implement a two-user communications handler
One-at-a-time Two-User Communications Handler Context Design and implement a communications handler that supports exactly one active conversation at a...
Find fair split of a two-color necklace
Given a circular necklace represented by a string s over {'a','b'}, you may cut the necklace at most twice (yielding three contiguous pieces). Can you...
How to host many domains on one IP?
You have a single Linux server with one public IPv4 address. A coffee shop, butcher shop, and auto repair shop each want their own website and their o...
4.1 Design a Live Streaming Platform
This is a classic system design question that tests your ability to handle real-time data at massive scale. Live streaming sits at the intersection of...
Debug React Sorting, Persistence, Routing, and Accessibility
Prepare for a HackerRank software engineering interview question about debug react sorting, persistence, routing, and accessibility. The prompt highli...
Fix a Corrupted Bootloader Instruction
This question evaluates the ability to simulate instruction-level program execution, reason about control flow and mutable program state (instruction ...
How would you choose between shows?
You are a data scientist at a streaming company similar to Netflix or Hulu. Leadership wants a recommendation on whether to renew an existing series o...
Design several large-scale systems
This prompt evaluates expertise in large-scale system architecture and distributed systems, including competencies in API and storage design, scalabil...
Answer common collaboration behavioral questions
Behavioral interview prompts Answer the following behavioral questions with concrete examples (use the STAR or CAR framework). Focus on your specific ...
Design a multi-threaded synchronous log writer
This question evaluates a candidate's understanding of concurrent programming, durable I/O, synchronization primitives, ordering guarantees, and syste...
Design an extensible expense rule evaluator
This question evaluates system-design and API/interface skills for rule engines, focusing on data modeling, extensibility, maintainability, and rule/r...
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 ...
Debug a PyTorch Contrastive Loss
Debug a PyTorch Contrastive Loss The source reports a PyTorch contrastive-loss debugging interview centered on matrix-multiplication shape mismatches....
How do you use AI for coding?
An interviewer asks about your day-to-day use of AI coding assistants. Answer the following: 1) Do you use AI to write code at work? If yes, for what ...
Evaluate TPR/FPR, sigmoid, and activations
You have a 70-minute assessment with several ML-fundamentals multiple-choice questions. Answer the following (show calculations where applicable). 1) ...
Solve interval, grid-fill, and heap tasks
You are asked to solve the following algorithmic problems. Problem 1: Concurrent users from online intervals You are given n inclusive time intervals ...
Design Premium Product Recommendations
This question evaluates a candidate's ability to design an ML-powered recommendation system, testing competencies in personalization, data requirement...
Implement Timeout Refund Workflow
This question evaluates skills in deterministic workflow design, idempotency and retry-safety for external payment integrations, state-transition corr...