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 and analyze notification pinning experiment
This question evaluates experimental design, causal inference, metric definition and instrumentation, sample size estimation, and analysis skills in t...
Query email logs for deliverability insights
Using the schema and sample data below, write SQL to answer parts a–c. Assume timestamps are UTC. Today is 2025-09-01. Schema: - Emails(sent_id INT, m...
Compute CTR by format for new US users
You are given three tables. Write a single SQL query to compute click-through rate (CTR) by pin_format for NEW users in the US, where NEW users are th...
Handle multiple experiment metrics and communication
This question evaluates a data scientist's competency in experimental design and analysis, including hypothesis hierarchy, multiple-testing control, p...
Explain CNN shapes, params, and trade-offs
This question evaluates understanding of convolutional neural network tensor shapes, parameter counts and multiply–accumulate (MAC) calculations, rece...
Implement WordGuess feedback scoring
WordGuess (Wordle-like) scoring Implement a function that scores a guess against a secret word of the same length. Scoring rules (per character) Retur...
Solve substring and top‑K pair problems
This multi-part question evaluates algorithm design and data-structure proficiency across string processing (minimum window substring), pair-selection...
Find largest filename from ls -l output
You are given a multi-line string (via stdin) that represents the output of ls -l, with one entry per line. Each file line follows the typical ls -l f...
[Analytics Reasoning] Impact of Malicious Accounts on Meta
You are analyzing malicious accounts on a large social network. Assume: - 1% of all accounts are malicious. - Malicious accounts send friend requests ...
Find LCA in a tree and extend to a DAG
This question evaluates proficiency in graph algorithms and data structures, focusing on lowest common ancestor computation in rooted trees and its ge...
Compute inverse-depth weighted sum of a nested list
This question evaluates competency in working with nested data structures and depth-based aggregation, measuring the ability to reason about hierarchi...
Determine if users need a new feature
This question evaluates a data scientist's competency in product analytics, causal inference, experiment design, metric definition, instrumentation, a...
Implement web data fetch and storage tool
Problem You are asked to implement a small program that retrieves data from a remote web service protected by token-based authentication, parses the r...
Implement Billing Coding Exercises
This question evaluates skills in billing and payment reconciliation, datetime normalization and comparison, subscription-based scheduling, API integr...
Investigate Declining Successful Orders
This question evaluates a data scientist's ability to define and validate metrics, generate and prioritize marketplace hypotheses across customer, del...
Compute sliding-window average excluding top k
This question evaluates a candidate's understanding of sliding-window algorithms, order-statistics maintenance, and data-structure techniques for incr...
Implement templated string replacement
You are given: 1. A dictionary (map) of placeholder keys to values, for example: `python values = { "db_host": "example.com", "db_port": 5001 } ` ...
Find missing value in sorted consecutive array
Given a sorted array nums of distinct integers. The numbers are supposed to form a consecutive sequence starting from some unknown integer start: - If...
How would you analyze retail volume drop?
Retail BTC volatility is high, but retail trading volume on Coinbase has decreased. Explain how you would investigate the issue with data and turn the...
Write SQL to compute max and min marks
Tables marks | column | type | notes | |---|---|---| | student_id | INT | primary key | | marks | INT | not null | Task Write a SQL query that returns...