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."
Implement an In-Memory File System
Implement an In-Memory File System The source reports an in-memory file-system exercise but not its exact error serialization or current-directory rem...
Compute Jaccard Similarity for Lists
Implement a Python function to compute the Jaccard similarity between two lists of strings. `python def jaccard_similarity(a: list[str], b: list[str])...
Identify Sales Professionals
Classifying Sales Professionals on LinkedIn You are building a machine-learning system that automatically classifies LinkedIn members who are likely t...
Present Analytical Process and Recommendations for Credit-Card Profitability.
Presenting Credit-card Profitability Analysis to a Manager You need to brief your manager on an analysis of credit-card profitability and partnership ...
Design A/B Test for Subscription Price Increase Effectiveness
A/B Testing a Subscription Price Increase and Sign-up CTA A B2B SaaS company is considering two experiments: raising subscription prices and improving...
Resolve Conflicting A/B Test Results in Cities
A/B Test Paradox Across Two Cities You ran an A/B test in two geographies, City X and City Y. Within each city, variant A outperforms variant B. Howev...
Adjust YouTube Ad Scores Using Mixed-Effects Linear Regression
Adjusting YouTube Ad Scores with Mixed-effects Regression One hundred reviewers each rate the same 100 YouTube ads on a 1 to 10 scale. Some reviewers ...
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...
Convert Dates to Calendar Quarter Labels in SQL/Python
Transactions +----+-----------+ | id | trans_dt | +----+-----------+ | 1 | 20230115 | | 2 | 20230402 | | 3 | 20230930 | | 4 | 20231201 | +---...
Assess Success Criteria for Bike-Courier Delivery Launch
Assessing a Bike-Courier Delivery Launch DoorDash plans to launch a bike-courier delivery option and wants to assess whether, where, and how to roll i...
Investigate Homepage Experiment Without Control Group: Methods and Metrics
Homepage Experiment Without a Control Group A social-media homepage team is analyzing a personalized feed. An intern accidentally launched a treatment...
Calculate Profitability and Evaluate Partnership for Credit Card Portfolio
Calculate Profitability and Evaluate a Partnership for a Credit Card Portfolio You are analyzing a mature credit-card portfolio to assess current prof...
Diagnose Discrepancy in A/B Test Conversion Rate Results
Diagnose Discrepancy in A/B Test Conversion Rate Results An e-commerce company plans to send personalized marketing emails to increase purchase conver...
Determine Probability of Shared Videos in Recommendations
Meta statistics and product prompt on video recommendation overlap, covering combinations, probability of shared videos, expected intersection size, s...
Calculate Expected Day for First Selection in Sampling
Expected Day of First Selection in Daily Sampling There are 1,000 people. Each day, 10 distinct names are selected uniformly at random. Day counting s...
Implement Batch Gradient Descent for Linear Regression
Batch Gradient Descent for Linear Regression You are building a linear regression model from scratch and will optimize the parameters using batch grad...
How would you design a Shop Ads ranking algorithm?
This question evaluates a candidate's understanding of machine learning-driven ad ranking, auction mechanics, multi-stakeholder objective formulation,...
Introduce yourself and explain your job search goals
You are in a hiring-manager screen for a startup. 1) Give a concise self-introduction tailored to a senior engineering role. 2) Why are you looking fo...
Identify read-only files from permission records
This question evaluates proficiency in parsing and filtering structured data by interpreting Unix-like permission strings and extracting filenames bas...
Find shortest relationship path using BFS
This question evaluates proficiency in graph representations and traversal algorithms—specifically BFS and adjacency-structure construction—for comput...