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."
Maximize Earnings by Converting Days Off
Implement maximum_schedule_earnings(schedule, k, daily_pay, consecutive_bonus). schedule[i] is 1 for an existing workday and 0 for a day off. Every wo...
Design a recommendation system for Jira issues
This question evaluates end-to-end ML system design competencies for recommendation services in an issue-tracking platform, covering data and labeling...
Decide Whether an LSTM Is Appropriate for Sequence Data
You are considering an LSTM for a prediction problem with sequential observations. Explain what an LSTM is designed to capture, how you would prepare ...
Diagnose and Validate a Regression Model
You fit a regression model to predict a continuous outcome. The headline error metric looks acceptable, but the team asks whether the model is trustwo...
How would you evaluate adding video ads?
You are a data scientist for a free-to-play mobile game. The product team wants to introduce video ads (e.g., rewarded videos and/or interstitial vide...
Design access control and heartbeat systems
Design two backend systems. Part A: Door access control system Design a service that manages which people can open which doors. The system must suppor...
Explain Python, Java, and Memory Management
This question evaluates understanding of programming language concepts and runtime behavior—covering typing disciplines, runtime models, performance a...
Solve BFS and grid tasks
The coding rounds included several algorithmic problems: 1. Threshold search with binary search: You are given floors 1..n and an API canOperate(floor...
Improve TikTok's Algorithm for Diverse Content Discovery
Product Feedback and Experimentation: Diverse Content Discovery You are a frequent TikTok user interviewing for a Data Scientist role focused on analy...
Evaluate Stripe Capital Lending Strategy
Stripe is considering expanding Stripe Capital, a lending product for existing merchants on the platform. Eligible merchants receive a pre-qualified w...
Explain Java follow-ups after solving coding problem
After you implement an algorithmic solution in Java, the interviewers ask follow-up questions and request modifications. Answer/discuss (and, where re...
Explain a Challenging Project, Influence, and Mentorship
Build a coherent behavioral interview narrative spanning a challenging technical project, influence without authority, and mentorship. Clarify your ow...
Implement a JSON Parser
This question tests practical knowledge of parsing theory, including lexical analysis and recursive-descent parsing applied to a well-defined grammar....
Detect and Break a Cycle in a Singly Linked List
This question tests practical knowledge of linked list traversal and pointer manipulation, specifically the ability to detect and resolve cycles using...
Minimum Bills and Coins to Make Change
This question tests a candidate's grasp of greedy algorithms applied to a classic coin-change problem with fixed denominations. It evaluates practical...
Minimum Drone Delivery Time on a Ring of Hubs
This question tests a candidate's grasp of circular graph traversal and greedy distance minimization on ring-structured topologies. It evaluates algor...
How would you evaluate emoji reactions launch?
This question evaluates a data scientist's competency in analytics and experimentation, covering metric framework design, A/B testing and quasi-experi...
Complete decision tree and gradient descent functions
You are given partially implemented code and must complete key functions. Implement the missing parts with correct logic and reasonable efficiency. Ta...
Determine Whether a Word Exists in a Graph
This question evaluates proficiency in graph algorithms and backtracking techniques, including traversal strategies, cycle avoidance, and state manage...
Design RAG Retrieval for Data Assets
This question evaluates skills in designing hybrid retrieval pipelines over enterprise metadata, including competencies in information retrieval, exac...