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."
How do you conduct a code review exercise?
In a live interview, you are shown a short code change — a diff, a pull request, or a standalone function — and asked to produce written code review c...
Solve Three Coding Interview Problems
The interview included three coding tasks: 1. Common ancestor in an N-ary tree You are given the root of an N-ary tree and two target nodes. Dete...
Choose single queue vs multiple queues
This question evaluates understanding of queueing theory, stochastic modeling of wait times, variability analysis, and the ability to state modeling a...
Explain Bootstrap and Prove Uniformity
This question evaluates mastery of statistical inference and probability theory, testing knowledge of resampling methods (bootstrap), interpretation o...
Solve Two OA Coding Problems
The online assessment included two coding problems: 1. In-place character run compression - You are given an array of characters. - Compress con...
Analyze member video posting behavior by country
Question You are given two tables describing LinkedIn members and the videos they upload. Write SQL (and optionally Python where noted) to answer the ...
Implement local maxima, bagging, and k-means
This set of tasks evaluates algorithmic problem-solving and implementation skills across array processing (local maxima), ensemble methods (bagging cl...
Schedule Non-Overlapping Meetings Efficiently
This question evaluates understanding of interval scheduling and overlap detection, proficiency in selecting efficient data structures for dynamic ord...
Explain self-attention, LoRA, Adam vs SGD, ViT
Answer the following ML/Deep Learning interview questions: 1) Describe self-attention in Transformer models. What are the queries, keys, and values, a...
Compare Shop and Web Ad Performance Without Overclaiming
Compare Shop and Web Ad Performance Without Overclaiming You have 28 days of daily ad data: `text ads_detail(advertiser_id, ad_id, ad_type, ad_objecti...
Evaluate launching a vegan burger
Scenario You run a fast-food burger chain, and a rival has just launched a hit vegan burger. The question on the table: should you add a vegan burger ...
Design a scalable video search system
Design a scalable video search system Design a Text-to-Video and Video-to-Video Search System Context You are tasked with designing an end-to-end mult...
Build an OAuth-based data migration client
Prompt Build a small command-line program that migrates records from a legacy HTTP API to a new HTTP API. Required steps 1. Obtain an access token usi...
Design a Top-K Ranking Service
This question evaluates a candidate's ability to design scalable, real-time Top-K ranking services, testing competencies in distributed systems, strea...
Answer AI Safety Behavioral Prompts
You are preparing for the final "culture" / hiring-manager rounds of a Software Engineer interview at an AI-focused company (the context here is Anthr...
Design a GPU-aware pod scheduler
Design a GPU-aware pod scheduler GPU-Aware Pod Scheduler and Cluster Manager (OO Design) Context You are designing a simplified, object-oriented clust...
Design a News Feed and Mail Service
Design the following systems: 1. Aggregate news feed Build a service that ingests articles from many publishers, deduplicates and ranks them, and s...
How do you diagnose a ratio metric change
In an A/B test, the treatment group shows a statistically significant increase in a ratio metric: - CTR = clicks / impressions increased by +1.2% rela...
Design a Distributed Key-Value Store
This question evaluates expertise in distributed systems and large-scale storage design, covering API design, partitioning, replication, request routi...
Solve four classic algorithm problems
You are given four independent coding tasks. For each task, implement the required function. --- Problem 1: Zigzag level-order traversal of a binary t...