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."
Optimize attention for long sequences
Optimize attention for long sequences System Design: Efficient Attention for Long Sequences Context You are designing or optimizing sequence models th...
Handle deadlines and misses
Handle deadlines and misses This is a two-part behavioral question. Answer both parts: 1. Tight deadline. Describe a time you faced a tight deadline. ...
Find kth missing integer and redundant operations
You are given two independent coding tasks. Task 1: K-th missing number You are given an integer array nums (not necessarily sorted) containing distin...
Simulate a Turn-Based Two-Player Game
This question evaluates API design, state management, move validation, board representation, and correctness guarantees for a turn-based game simulato...
Design an experiment for exploratory recommendations
Experiment Design for Exploratory Recommendations You are launching an online A/B test for a new recommendation algorithm. The goal is to increase use...
Posterior probability given model accuracy
Security Classification: Posterior Probability When Flagged You are evaluating a binary classifier that flags potentially bad users. Assume: - Base ra...
Comparing two ad‑insertion strategies
Comparing Two Ad Insertion Methods You are designing an ad insertion system. In a short time bucket or session, there are n eligible content slots whe...
Evaluating a 15 % reduction in post‑card height
Evaluating a 15 Percent Reduction in Post-card Height You own the feed UX for a social app. Designers propose shrinking each post card's height by 15 ...
Evaluate the Success of Instagram Checkout
Evaluating Instagram Checkout Instagram Checkout allows users to discover products, add to cart, pay, and manage post-purchase flow without leaving In...
Evaluating Instagram’s one‑tap account switcher
Instagram One-tap Account Switcher: Identity, Behavior, and Risk Product teams shipped an in-app one-tap account switcher to help creators and power u...
Evaluate the Health of Facebook Groups
Group Health Metrics and Threaded Comments Experiment You are a Data Scientist working on a platform with Groups ranging from small hobby clubs to ver...
Predict Impact of 'Online Indicator' Feature
LinkedIn Messaging: Online Presence Indicator LinkedIn plans to display an online presence indicator, such as a green dot, next to first-degree connec...
Evaluate 'Job You May Be Interested In' Recommender
Evaluating a LinkedIn Jobs Recommender Upgrade LinkedIn is upgrading the algorithm that recommends jobs to members across surfaces such as the Jobs ta...
Calculate Incremental Customers for Marketing Spend Justification
Incremental Customers Needed for Marketing Spend You previously computed the per-customer annual profit for a new cardholder, excluding partnership ma...
Master A/B Testing: Key Concepts and Methodologies Explained
A/B Testing and Causal Inference: Core Concepts You are a data scientist interviewing for a role working on an online product. Demonstrate practical A...
Assess Customer Value with Varied Contract Terms and Costs
Subscription Network Service: Customer Value and Contract Terms A subscription network-service provider wants to assess unit economics and portfolio i...
Explain App Growth Strategy and Key Performance Metrics
App Growth Strategy and Key Performance Metrics In an onsite Analytics and Experimentation interview, you must explain a favorite digital consumer app...
Optimize Credit-Card Strategy: Pricing, Limits, and Target Segments
Credit-Card Business Optimization Case You are evaluating a new credit-card product. You have or will estimate per-segment cost, revenue, and risk inp...
Solve Python Challenges: Reverse String, Palindrome, Fibonacci, Unique List
Scenario Live coding round – four quick Python exercises Question Implement a function that reverses a string in-place. Write code that returns True i...
Describe Your Research and Cross-Functional Collaboration Experience
Behavioral Interview: Research Rigor and Cross-functional Collaboration You are interviewing for a Data Scientist role in a technical phone screen. Th...