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."
Delete a Character From Cover
This question evaluates proficiency in string manipulation, interval arithmetic, and data-structure updates with attention to index mapping and edge-c...
Design an online coding contest platform
This question evaluates a candidate's ability to design scalable, reliable, and secure distributed systems for real-time, event-driven workloads, cove...
Explain factor leakage checks and IC/ICIR filtering
This question evaluates competency in factor-based predictive modeling, including detection of information leakage, use of information coefficient (IC...
How to debug an apparent D14 retention drop
Scenario A dashboard shows D14 retention (users retained on day 14 after signup/first activity). In the last week, the chart shows a sharp decline. As...
Compare RDBMS vs NoSQL and containers
Answer the following engineering fundamentals questions: 1) Compare RDBMS and NoSQL databases: key trade-offs (schema, transactions/ACID, consistency,...
Design a Lens Recommendation System
Design a recommendation system for augmented-reality lenses in a social camera application. Your design should cover: - product goals and success metr...
Find Earliest Train Route
You are given a discrete train timetable and need to find a valid route through the train network. Each train has an itinerary represented as a sequen...
Implement Rate-Limited Wikipedia Crawler
Implement a rate-limited Wikipedia crawler. You may use an AI coding assistant during the interview, such as Cursor or Claude Code. You are expected t...
Compute account balances with rejection and overdraft
You are given a list of transaction records as strings. Each record has the format: ` account_id,timestamp,currency,amount ` - account_id: string iden...
Find Top K Largest Elements
This question evaluates a candidate's skill in algorithmic selection and data-structure usage for extracting top-k elements from large arrays, emphasi...
Discuss compensation expectations and flexibility
HR Screen — Compensation Expectations Context: Software Engineer, HR screen. For clarity, total compensation typically includes base salary, annual bo...
Discuss mentorship experience and outcomes
Behavioral Prompt: Mentorship Experience (Software Engineer HR Screen) Provide a concise, metrics-backed overview of your mentorship experience. 1) Sc...
Determine dictionary-based string segmentation
You are given a string s and a set of tokens dict. Determine whether s can be segmented into a sequence of one or more tokens from dict. If segmentati...
Describe a challenging project you led
Behavioral Prompt: A Challenging Project You Led or Contributed To Context: Technical screen for a Machine Learning Engineer role. The interviewer ask...
Design a time-series home-buy decision classifier
Take‑Home: Classifying Buy‑Now vs Wait Decisions in Housing Time Series Context You are given a monthly panel of regional housing and macro time serie...
Model ads demand data for reporting
This question evaluates competencies in data modeling, ETL/ELT pipeline design, analytics warehousing, handling slowly changing dimensions, and high-v...
Design an ad frequency capping system
This question evaluates expertise in designing low-latency, high-throughput distributed systems for stateful online decisioning, encompassing competen...
Solve sliding-window, flattening, decode, and O(1) random set
This multi-part question evaluates competence in string processing and nested parsing, linked-list flattening and recursion depth management, dynamic ...
Find Maximum Candies With Two Types
You are given a row of candies represented by an array candies, where candies[i] is the type of the candy at position i. You may choose any starting p...
Explain arrays and memory layout
What is an array? How is an array represented in memory (contiguous layout, element size and alignment, indexing arithmetic). Analyze time complexitie...