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 robust word counts and min/max
You receive a 50GB UTF-8 text corpus on disk. Implement a Python solution that:\n- Streams the file without loading it fully into memory.\n- Counts ca...
Compute posterior for biased coin after 3H1T
You are given a coin known to be biased: one face lands with probability 2/3 and the other with probability 1/3, but you do not know whether Heads is ...
Define and apply Gmail user segments
Question Gmail wants to create actionable user segments to drive both product improvements and marketing/lifecycle outcomes. Propose a segmentation sc...
Justify synthetic control and handle inference
Synthetic Control: Assumptions, Estimation, Inference, and Diagnostics Context You are estimating the causal effect of an intervention on a single tre...
Resolve conflict and learn from failure
Behavioral Prompt for Data Scientist (HR Screen) Provide two concise, structured responses. Use STAR (Situation, Task, Action, Result) and quantify ou...
Explain a Difficult Project and a Colleague Conflict
Prepare evidence-based stories about your most difficult project and a substantive colleague conflict. Explain constraints, alternatives, personal dec...
Two Sum — Indices Summing to a Target
This question evaluates a candidate's ability to design an efficient array-searching algorithm that maps values to indices under a target-sum constrai...
Track the Running Median of an Integer Stream
Track the Running Median of an Integer Stream Problem Implement runningMedianTwice(values) -> mediansTwice. Process values from left to right. After e...
Design a Homepage Store Recommender
This question evaluates system-level machine learning and recommender competencies, including candidate retrieval, filtering and ranking, feature-stor...
Answer common internship behavioral questions
You have ~25–30 minutes for behavioral questions (with possible follow-ups). Prepare strong, concrete answers (internship-level scope is fine) for: 1....
Explain thermal and signal fundamentals
This question evaluates understanding of hardware fundamentals including thermal-resistance modeling, digital signal biasing (pull-up resistor selecti...
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...
Implement Courier Delivery Cost Tracking
This question evaluates skills in time-interval arithmetic, in-memory state management, and billing computation for delivery records, including handli...
Answer motivation and teamwork questions
You are in a behavioral interview for an entry-level software role. Answer the following prompts: 1. Why did you choose to study Computer Science? 2. ...
Design a computer-use agent end-to-end
This question evaluates competency in designing end-to-end multimodal interactive ML systems, including perception from pixels and accessibility trees...
Explain bias–variance, overfitting, and vanishing gradients
This question evaluates understanding of core machine learning fundamentals—specifically the bias–variance tradeoff, overfitting detection and mitigat...
Design a file upload and scanning report system
This question evaluates a candidate's ability to design scalable, secure distributed systems for asynchronous file handling, including API design, dat...
Answer core teamwork and conflict stories
You are in a behavioral interview. Prepare to answer the following prompts using concrete examples from your experience. Prompts 1. Describe a challen...
Calibrate LLM output to match Word formatting
This question evaluates a candidate's ML system design skills for calibrating large language model outputs to strict document formatting schemas, cove...
Answer Spring Boot and Thymeleaf engineering questions
This question evaluates a developer's competency with Spring Boot and Thymeleaf, covering debugging memory and session issues, designing dependency st...