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."
Format VARCHAR amounts into $ with M/B suffix
This question evaluates a candidate's ability to perform SQL data manipulation tasks such as string-to-number conversion, conditional scaling and suff...
Implement a versioned in-memory DB with CAS and history
In-Memory DB V2: TTL + Compare-And-Set/Delete + Historical Reads Implement an in-memory database keyed by (key, field) supporting TTL, conditional upd...
Explain iOS ARC and avoid retain cycles
iOS Memory Management (ARC) You have 10 minutes to explain iOS memory management under ARC. Cover the following: 1. How ARC manages object lifetime (w...
Compute streaming sliding-window minimums
Problem You are given an integer array nums of length n and an integer window size k. You scan nums from left to right (streaming). At each index i, y...
Compute a Seven-Day Rolling Average
Compute a Seven-Day Rolling Average Write one PostgreSQL SELECT statement or CTE query. Do not create, alter, or modify tables. Schema daily_metrics |...
Validate IPv4 Address List
This question evaluates proficiency in string parsing, input validation, numeric boundary checks, and algorithmic complexity by requiring verification...
Design a Jira+Confluence RAG assistant
You are asked to design a simple Retrieval-Augmented Generation (RAG) system that answers employee questions using content from two internal products:...
ML System Design: Thumbnail Selection for a Streaming Catalog
ML System Design: Thumbnail Selection for a Streaming Catalog You work at a video streaming service. For each title in the catalog (movie or show), th...
Design a product-feed recommendation system
This question evaluates a candidate's competency in end-to-end machine learning system design for recommendation engines within the ML System Design d...
Handle imbalance, sampling, and overfitting
Machine Learning Fundamentals: Imbalance, Sampling, Overfitting, and Regularization You are asked several machine learning fundamentals questions in a...
Connect Motion Planning, Stability, and LQR Control
Connect four layers of mobile-robot reasoning: transfer-function stability, A* versus RRT planning, temporal-logic safety and liveness, and LQR feedba...
Solve Seven Python Image and Data Tasks
This multi-part Python assessment evaluates image and data processing competencies including array and matrix manipulation (center crop, rotation), nu...
Calculate Playback Counts per Stream
This question evaluates SQL skills in aggregation and joins, specifically counting event occurrences and relating them to stream and streamer identifi...
Compute Score Difference in Reversing Array Game
This question evaluates array manipulation and stateful simulation skills, parity-based control flow reasoning, and the ability to analyze time comple...
Consolidate On-Call Rotation Segments
This question evaluates proficiency with interval manipulation, set management, sorting and event ordering, and the use of appropriate data structures...
Describe career goals and what makes good teams
For a Senior Data Scientist onsite (Uber context), answer the following leadership/behavioral prompts: 1) Describe a past project where you influenced...
Explain SHAP and build an ML project
This question evaluates understanding of model explainability using SHAP and the competency to design and operationalize an end-to-end machine learnin...
Check Digits and Combine Ranges
You are asked to solve two independent coding tasks. Task 1: Check Whether an Integer Reads the Same Backward Given an integer x, return true if its d...
Handle multicollinearity in feature selection
You are building an interpretable predictive model for an insurance company, such as a linear or logistic regression model for claim risk. Several inp...
Answer product, collaboration, and prioritization scenarios
Behavioral / Leadership prompts Answer the following (you can assume a 35–40 minute behavioral interview): 1. Intro (5 minutes): Walk through your bac...