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 Payment System
Design a Payment System Design the backend payment system for an online platform that charges customers for goods and services (for example, a marketp...
Why Anthropic and its values?
This interview evaluates culture fit, value alignment, and critical thinking for Anthropic. Prepare one coherent discussion that addresses all of the ...
Present Piracy Trends to a PM
You ran the analyses above and got two preliminary findings: - the monthly pirated-theme usage rate appears to rise from 0% to 100% over the observed ...
Lead a deep dive on your most complex project
Past project deep dive (Staff/L6) Pick the most complex system you’ve worked on and be prepared for a 30–45 minute deep dive. Expect probing questions...
Design an unsafe content detection system
This question evaluates a candidate's competency in end-to-end machine learning system design for unsafe user-generated content detection, covering mu...
Daily Temperatures by Town: Linear Models to Predict NYC Temperature
Daily Temperatures by Town: Linear Models to Predict NYC Temperature You are given a dataset of historical daily temperature readings for New York Cit...
How would you test a price increase?
You are a data scientist at a B2C AI video editing software company (subscription-based, with a free trial and paid tiers). Product leadership is cons...
Count Distinct Values in a Sorted Array When K Is Small
Count Distinct Values in a Sorted Array When K Is Small Given an integer array sorted in nondecreasing order, return the number of distinct values. Le...
Explain your perspective on AI safety
You are working in a company that builds and deploys advanced AI systems (e.g., large language models, recommendation systems, vision models) that are...
Design a hotel search and booking system
This question evaluates a candidate's ability in large-scale system design, covering distributed architecture, data modeling for hotels and availabili...
Design Robust Large-Input Processing
The string-reduction algorithm above is now part of a backend service. Each job reads a text object from S3-compatible storage, applies the transforma...
Design a distributed job scheduler
Question Design a distributed job scheduler that can run background jobs at specific times or on recurring schedules (similar to cron but scalable and...
Explain and Diagnose a Segmentation Fault
Explain and Diagnose a Segmentation Fault Explain what a segmentation fault represents in a native program, how it relates to virtual-memory protectio...
Compare C++ Pointers and References
Compare C++ Pointers and References Compare C++ pointers and references. Explain initialization, nullability, reseating, syntax, arithmetic, ownership...
Explain C++ Inline Semantics and Trade-Offs
Explain C++ Inline Semantics and Trade-Offs Explain what the C++ inline keyword means, how that differs from a compiler actually substituting a functi...
Compare Stack and Heap Memory and Probe Stack Direction
Compare Stack and Heap Memory and Probe Stack Direction Explain the practical differences between automatic storage commonly implemented with a call s...
Handle imbalance, sampling, and overfitting
This question evaluates a data scientist's proficiency in machine learning topics including handling class imbalance, selecting and interpreting evalu...
Design a Merchant Ledger Service
This question evaluates system design skills related to modeling monetary values, transactional integrity, idempotency, auditability, concurrency cont...
Explain motivations, projects, accomplishments, and teamwork
Behavioral & Leadership — Technical Screen (Data Scientist, Bank of America) Context You are interviewing for a Data Scientist role at Bank of America...
Optimize image filters on device
You are shipping an image-filter feature that must run entirely on a mobile device. Users expect preview latency below 30 ms on common phones, memory ...