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."
Measure impact of ads-manager automation feature
This question evaluates competency in causal impact measurement, experimental design, metric selection, monitoring instrumentation, and bias identific...
Design a Scalable Post, Feed, and Search Service
Design a Scalable Post, Feed, and Search Service Design a social-post service with three core capabilities: a user can publish a text post, retrieve a...
Find Any Local Minimum with Iterative Binary Search
Find Any Local Minimum with Iterative Binary Search Given a nonempty integer array numbers, return the index of any local minimum. An index i is a loc...
Return Binary Tree Nodes in Vertical Order
Return Binary Tree Nodes in Vertical Order A binary tree has nodes numbered from 0 through n - 1, with node 0 as the root. Arrays left and right conta...
Implement A* Maze Search
Implement maze pathfinding in C++. You are given an m x n grid where '.' is an open cell, '#' is a wall, S is the start, and T is the target. You may ...
Describe Over-Engineering and UX Wins
After a project deep dive, the interviewer asked two behavioral questions: 1. Describe a time when you designed or implemented something that became m...
Explain what happens when you run ls
In Linux, explain the end-to-end flow of what happens when a user types ls in a shell and presses Enter. Include: - What the shell does - How the exec...
Design a weapon-sale ad detection system
This question evaluates a candidate's competence in end-to-end machine learning system design, covering multimodal signal integration (text, images, b...
Troubleshoot a website outage with disk full
This question evaluates operational incident response and systems troubleshooting skills, including understanding of disk/storage behavior, log and me...
Implement an ASCII Art Printer
Implement an ASCII art printer. A font defines each supported character as a glyph with the same height. A glyph is a list of equal-length text rows. ...
Implement Top-p (Nucleus) Sampling in NumPy
This coding question tests practical implementation of top-p (nucleus) sampling, a core decoding strategy in large language models. It evaluates NumPy...
Implement streaming RLE and bit-packed codec
You are implementing a simple compression scheme for sequences of 32‑bit signed integers. The codec should support two encoding strategies: 1. Run‑Len...
Measure Daily Late-Order Rates by Delivery Zone
The original interview report identified a late-order SQL exercise but did not preserve its exact schema. The following is a self-contained practice r...
Design in-game payment wallet system
Design in-game payment wallet system System Design: In‑Game Currency Transfers and Analytics Context You are designing the in‑game currency subsystem ...
Answer impact, disagreement, and motivation questions
You are in a 30-minute hiring-manager screen for a senior/staff-level individual contributor role. The manager asks several behavioral questions. Prov...
Compute total wages and partial-hour payments
You are given a list of workers. Each worker has: - id (string) - hourly_rate (non-negative number) - one work shift for a given day: start_time, end_...
Design a TikTok-like short video platform
This question evaluates skills in large-scale system design for short-video platforms, including video ingestion and transcoding, storage and CDN stra...
Implement a type-based mutex for tasks
This question evaluates understanding of concurrency and synchronization primitives, testing the ability to design a thread-safe type-based mutex that...
Optimize HTTP requests for speed and limits
This question evaluates understanding of concurrency, throughput optimization, rate limiting, and trade-offs in designing scalable networked services....
Design an LLM quality validation system
You are asked to design an end-to-end LLM quality validation system for a team that trains and serves large language models. The goal is to automatica...