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 a meeting scheduler with cancellations
Design a meeting scheduler with cancellations System Design: Meeting Scheduling Platform (Onsite) Context Design a multi-tenant meeting scheduling sys...
Compute max profit with forced trades
Compute max profit with forced trades Given an array prices where prices[i] is the stock price on day i, solve two related tasks under a forced-trade ...
Find recommended friend pairs by shared songs
You work on a music app and want to recommend “friend” connections based on listening similarity. Assume the following tables (all timestamps are in U...
Design metrics and experiment for stolen-post detection
Evaluates skills in metrics design, diagnostic analysis, and online experiment methodology within Analytics & Experimentation for a Data Scientist pos...
Compute reply-based user metrics in 7 days
You are analyzing discussions on a social platform. Tables all_post - post_id (BIGINT, PK) - post_author_id (BIGINT, FK → user.user_id) - post_creatio...
Solve array duplicate flags and binary swaps
Problem 1: Flag duplicates on the left and right You are given an integer array nums of length n. For each index i, determine: 1. Left-duplicate: whet...
Quant Probability Brainteasers: Pizza Bounds, Coin Scores, Ant on a Cube, Shoelace Loops, and Paint Mixing
You are in a quantitative research interview. The interviewer works through a series of short probability puzzles and expects you to reason out loud, ...
Implement Wordle-style word guessing solver
Implement Wordle-style word guessing solver Implement a program to solve a Wordle-style word guessing game. The game has a hidden target word of fixed...
Design a scalable Instagram-like platform
Design a scalable Instagram-like platform Design: Instagram-like Photo/Video Sharing Platform (Technical Screen) Context Design a photo/video sharing ...
Implement React logic with TypeScript hooks
Implement React logic with TypeScript hooks React + TypeScript List Manager Context You are building a small UI during an onsite interview. Implement ...
Answer core CS fundamentals concisely
Answer core CS fundamentals concisely Answer core CS fundamentals: differentiate processes vs. threads; describe how a thread pool works (task queue, ...
Implement tiered shipping calculator
Implement tiered shipping calculator Implement in JavaScript a shipping-cost calculator with three progressively richer pricing models based on a conf...
Find a special person using knows(a,b)
Problem You are given n people labeled 0 to n-1 at a party. You can call an API: - knows(a, b) -> bool: returns true if person a knows person b, other...
Design a Netflix-like video platform
Scenario Design a Netflix-like platform that supports: - Search for videos (by title, tags, people, etc.) - Stream videos to web/mobile/TV clients - U...
Merge overlapping time intervals
Problem You are given a list of closed intervals intervals, where each interval is [start, end] and start <= end. Merge all intervals that overlap and...
Compute shortest delivery route with dangerous stops
Delivery Route Planning With Dangerous Stops You are given delivery stops (nodes) and a set of routes. Each route is a list of stops, and you can trav...
Detect recurring transactions from a ledger
You are given a list of credit/debit card transactions. Each transaction has: - transaction_date (YYYY-MM-DD) - merchant (string) - amount (decimal, p...
Find shortest transformation steps in a word graph
You are given two strings begin and end of the same length, and a list words of distinct strings (also same length). You can transform one string into...
Design comment ranking for a news feed
This question evaluates a candidate's ability to design an ML-powered comment-ranking system, testing competencies in personalization, engagement and ...
Train and improve a scikit-learn binary classifier
Evaluates the ability to train, evaluate, and iteratively improve a scikit-learn binary classifier, encompassing model selection, preprocessing, valid...