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 scalable game app store
You are asked to design a backend system for a game app store. The product is similar in spirit to an app marketplace but focused on games. Requiremen...
Python Language and Runtime Fundamentals
Python Language and Runtime Fundamentals Clarifying Questions to Ask - Should answers describe CPython specifically or Python language semantics acros...
Walk through a key project
Walk through a key project Behavioral/Technical Prompt: Most Impactful Project Provide a concise, structured walkthrough of the most impactful project...
Return the Lexicographically Smallest Two-Sum Index Pair
Return the Lexicographically Smallest Two-Sum Index Pair Problem Implement twoSumSmallestPair(nums, target) -> pair. Return the lexicographically smal...
Build a FastAPI summarization service
Implement a minimal but production-ready FastAPI service for text summarization. Requirements: - Expose an endpoint POST /summarize. - The request bod...
How to measure harmful-content severity and run experiments
Question You are a Data Scientist working on content integrity / harmful content at a large social media platform (e.g., hate/harassment, self-harm, g...
Design Pin recommendation system
Design Pinterest's Home Feed Recommendation System Problem Design an end-to-end recommendation system that powers the personalized home feed on Pinter...
Implement n-gram model and select n
Implement n-gram model and select n Task: Implement an n-gram Language Model with Training, Sampling, and Model Selection Guidance Objective Implement...
Implement Streaming Clustering for Numbers
You receive a continuous stream of numeric values. Choose an appropriate clustering algorithm and implement it so that each incoming number can be ass...
Design a Real-Time Trending Hashtags System
Design the backend system that detects and serves trending hashtags from posts on a large social network (Facebook-scale). The service continuously in...
Measure Local News Launch Success
This question evaluates experimentation design, causal inference, metric definition, and the handling of interference and selection bias in product an...
Design an LLM agent with RAG and tools
This question evaluates proficiency in designing LLM-based agents, covering retrieval-augmented generation, tool/API orchestration, safety and evaluat...
Find K Nearest Points
This question evaluates proficiency with Euclidean distance metrics, selection algorithms, and efficient data structures for partial sorting, while re...
How would you lead a team to improve quality?
Behavioral / Leadership — Leading a Team to Improve Quality You are acting as a Tech Lead (TL) for a small cross-functional team (e.g., 4–8 engineers ...
How do you perform a thorough code review?
You are given several Python backend files to review (treat this as an “OA in code-review format”). The code performs database operations such as SQL ...
What Project Are You Proudest Of?
Tell me about the project you are most proud of. Why does it stand out, what was your specific contribution, what challenges did you face, and what me...
Design an Agentic Ticket Support System
Design an AI-powered ticket support system. The system must integrate with two existing external systems: 1. Ticket system: Displays all support ticke...

Implement a Dependency-Aware Task Scheduler
Implement a TaskManager class with two methods: - AddTasks(tasks): add one or more tasks into the system. - ConsumeTask(): return and remove the execu...
How do you debug slowness and bugs?
The interviewer asked two practical engineering questions: 1. A web application's frontend is loading very slowly. Describe how you would diagnose the...
Design a streaming embedding-based classifier
You are given a continuously arriving stream of text data for a classification task. Design an end-to-end machine learning system that: 1. processes r...