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."
Find Shortest Unique Prefixes
This question evaluates string-processing skills and understanding of data structures for prefix management (e.g., tries), along with algorithmic effi...
Design a booking system
This question evaluates system design skills including distributed systems, data modeling, concurrency control, consistency models, API design, scalab...
Normalize targets for multitask regression
You are training one machine learning model with a shared representation and two regression heads. Each example has two continuous labels: - Target A ...
Architecture and Data-Scaling Trade-offs
This question evaluates a candidate's grasp of software architecture and database scaling trade-offs, covering microservices versus monolithic design ...
Debug Transformer and Add KV Cache
This question evaluates debugging and implementation skills for transformer-based autoregressive language models, focusing on attention mechanics, pos...
Explain Anthropic motivation and leadership stories
Anthropic's non-technical loop for Software Engineers spans two distinct sessions: a Culture / values interview and a Hiring-Manager (HM) round that r...
Build Reliable Employee-Operations and Expense Intelligence Systems
Build Reliable Employee-Operations and Expense Intelligence Systems Design four connected capabilities: a tagged event counter for dashboards and bill...
Design Rolling-Window Ad Frequency Capping
Design a frequency-capping service for an advertising platform. The ad platform receives ad requests for users and must decide whether a candidate ad,...
Design a Neighborhood Newsfeed System
This question evaluates a candidate's ability to design a scalable, privacy-preserving neighborhood social feed system, testing competencies in distri...
Answer Leadership and GenAI Behavioral Questions
Prepare structured behavioral interview answers for the following prompts. Use specific real experiences, quantify impact when possible, and be ready ...
Sort Matrix Diagonals By Their Values
Given an n x n matrix of lowercase letters, consider every diagonal that runs from bottom-left to top-right. There are 2n - 1 such diagonals. Assign e...
Answer four core statistics questions
Problem set (timed) Answer the following four questions. 1) Covariance of order statistics Let \(X\) and \(Y\) be independent \(\mathrm{Unif}(0,1)\). ...
Design a scalable payment system
Design a scalable payment system Design a scalable payment system. The system must support both peer-to-peer money movement between users and merchant...
Design Duplicate File Detection
This question evaluates system design and storage engineering skills, including scalable file-processing, efficient I/O and resource management, corre...
Implement CLIP Contrastive Loss
Given a minibatch of paired image and text embeddings, implement the symmetric contrastive loss used in CLIP-style image-text representation learning....
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...
Solve Three Array and Matrix Path Problems
This set of three problems evaluates algorithm design, complexity analysis, and data-structure reasoning across matrix path traversal, interval covera...
Prepare for a Senior Project Deep Dive Before Coding
Prepare a structured Bytedance behavioral interview answer for prepare for a senior project deep dive before coding. The prompt helps candidates frame...
Compute probabilities and expectations in random processes
This is a rapid-fire probability and expectation round: a sequence of short, self-contained brain-teasers solved on a whiteboard. The interviewer expe...
Answer Manager Behavioral Prompts
In a hiring-manager interview, prepare concise STAR-style answers for the following prompts: 1. Describe a significant project you led or contributed ...