PracHub
QuestionsCoachesLearningGuidesInterview Prep

Machine Learning Engineer Machine Learning Interview Questions

Practice 192 real Machine Learning interview questions for Machine Learning Engineer roles. From companies including Amazon, OpenAI, Snapchat, Apple, TikTok.

Questions
192
Companies
64
Updated
06.18.2026
192 Questions 64 Companies06.18.2026
PLTCHK testimonial
PLTCHK

"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"

_The_TaNk_ testimonial
_The_TaNk_

"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"

Chris testimonial
ChrisSenior SWE, LinkedIn

"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."

sleepy33 testimonial
sleepy33

"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."

Jake testimonial
JakeSenior ML Engineer, Lyft

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

nuggetlord testimonial
nuggetlord

"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."

Carlos testimonial
CarlosFull Stack, Shopify

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

boba.tea.vibes testimonial
boba.tea.vibes

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

Andy testimonial
AndySWE-II, Google

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

couchpotato99 testimonial
couchpotato99

"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."

Shruti testimonial
ShrutiData Engineer, Salesforce

"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."

midnightramen testimonial
midnightramen

"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."

Bianca testimonial
BiancaFrontend Eng, Figma

"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."

tambrahm007 testimonial
tambrahm007

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."

toa testimonial
toa

"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."

PLTCHK testimonial
PLTCHK

"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"

_The_TaNk_ testimonial
_The_TaNk_

"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"

Chris testimonial
ChrisSenior SWE, LinkedIn

"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."

sleepy33 testimonial
sleepy33

"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."

Jake testimonial
JakeSenior ML Engineer, Lyft

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

nuggetlord testimonial
nuggetlord

"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."

Carlos testimonial
CarlosFull Stack, Shopify

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

boba.tea.vibes testimonial
boba.tea.vibes

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

Andy testimonial
AndySWE-II, Google

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

couchpotato99 testimonial
couchpotato99

"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."

Shruti testimonial
ShrutiData Engineer, Salesforce

"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."

midnightramen testimonial
midnightramen

"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."

Bianca testimonial
BiancaFrontend Eng, Figma

"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."

tambrahm007 testimonial
tambrahm007

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."

toa testimonial
toa

"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."

Showing 20 results
Role
Stripe logo
Stripe
Medium
Machine Learning EngineerSenior

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 ...

Machine Learning
1
0
20 people solved
Apr 18, 2026
TikTok logo
TikTok
Medium
Machine Learning Engineer

Write self-attention and cross-entropy pseudocode

You are asked to explain core Transformer / deep learning components. Part A — Self-attention pseudocode Write clear pseudocode (not full code) for sc...

Machine Learning
10
0
154 people solved
Feb 12, 2026
Tesla logo
Tesla
Hard
Machine Learning Engineer

Design RL reward for speed limits

RL for Autonomous Driving — Conceptual + Practical You are training a reinforcement-learning agent to drive a vehicle. The interview moves from policy...

Machine Learning
24
0
193 people solved
Feb 12, 2026
Voleon logo
Voleon
Hard
Machine Learning EngineerNew Grad Locked

Explain ML and statistical modeling

Discuss the following machine learning and statistics topics: - In a supervised learning problem with severe class imbalance, what techniques would yo...

Machine Learning
8
0
111 people solved
Feb 15, 2026
Sealth logo
Sealth
Easy
Machine Learning Engineer Locked

Implement Beam Search With Length Normalization

In a sequence generation model, you are given: - a start token <bos> - an end token <eos> - a maximum output length max_len - a beam size k - a functi...

Machine Learning
11
0
78 people solved
Apr 19, 2026
Spotify logo
Spotify
Medium
Machine Learning Engineer

Compare Unsupervised Clustering Methods

Explain several unsupervised clustering approaches and when you would use each one. At a minimum, compare centroid-based clustering, hierarchical clus...

Machine Learning
6
0
79 people solved
Mar 4, 2026
Pinterest logo
Pinterest
Medium
Machine Learning Engineer Locked

Explain bias–variance, overfitting, and vanishing gradients

Answer the following ML fundamentals questions: 1. Bias–variance tradeoff: What are bias and variance? How do they relate to underfitting/overfitting?...

Machine Learning
9
0
126 people solved
Jan 22, 2026
Apple logo
Apple
Medium
Machine Learning Engineer Locked

Explain dataset size, generalization, and U-Net skips

You are interviewing for an ML Engineer role in an image/video team. Answer the following conceptual questions clearly and concisely. 1) Small vs. lar...

Machine Learning
9
0
63 people solved
Mar 1, 2026
Sealth logo
Sealth
Easy
Machine Learning Engineer Locked

Represent k-means as an MLP

Given fixed centroids q_1, ..., q_k and an input vector x, show how the nearest-centroid assignment step of squared-Euclidean k-means can be implement...

Machine Learning
8
0
50 people solved
Apr 12, 2026
Spotify logo
Spotify
Medium
Machine Learning Engineer

Build Premium User Propensity Model

Design an end-to-end modeling approach to identify free-tier users who are likely to convert to a premium subscription. Discuss: - the business object...

Machine Learning
5
0
70 people solved
Mar 4, 2026
Shopify logo
Shopify
Medium
Machine Learning Engineer

Build model to predict package delivery time

You are building an ML model to predict package delivery time (ETA) for shipments. Given historical shipping data (order created time, origin/destinat...

Machine Learning
14
0
123 people solved
Feb 18, 2026
Airbnb logo
Airbnb
Medium
Machine Learning Engineer Locked

Design photo and listing quality models

Discuss how you would solve the following two machine learning product problems for a travel marketplace. 1. Improve booking performance by selecting ...

Machine Learning
9
0
97 people solved
Jan 5, 2026
Point72 logo
Point72
Medium
Machine Learning Engineer

Compute Gaussian Probability and Regression Coefficients

You are given two independent standard normal random variables, X and Y. 1. Compute P[X > 3Y]. 2. In ordinary linear regression with design matrix X i...

Machine Learning
5
0
36 people solved
Feb 25, 2026
Microsoft logo
Microsoft
Medium
Machine Learning Engineer Locked

How do you choose a model?

You are building machine learning features for a spreadsheet assistant. Explain how you would choose an appropriate model for a new problem. In your a...

Machine Learning
8
0
74 people solved
Mar 10, 2026
Microsoft logo
Microsoft
Easy
Machine Learning EngineerIntern

Explain bias-variance and evaluate a classifier

You are interviewing for an Applied Scientist internship. Answer the following ML foundations questions. 1) Bias–variance - Define bias and variance i...

Machine Learning
10
0
100 people solved
Dec 27, 2025
Point72 logo
Point72
Medium
Machine Learning Engineer

Explain Transformer Encoder and Decoder Behavior

Answer the following Transformer fundamentals questions in a machine learning interview: 1. What are the main differences between a Transformer encode...

Machine Learning
3
0
27 people solved
Mar 6, 2026
OpenAI logo
OpenAI
Hard
Machine Learning Engineer

Diagnose Transformer training and inference bugs

Debugging a Transformer That Intermittently Throws Shape/Dtype Errors and Fails to Converge You inherit a Transformer-based sequence model (decoder-on...

Machine Learning
85
0
673 people solved
Aug 11, 2025
Tesla logo
Tesla
Hard
Machine Learning Engineer

Implement attention and Transformer with backward pass

Implement Scaled Dot-Product Attention and a Transformer Block (No Autograd) Context: Build multi-head self-attention and a Transformer encoder-style ...

Machine Learning
20
0
179 people solved
Aug 12, 2025
Reddit logo
Reddit
Medium
Machine Learning EngineerSenior

Model y from x and interpret distributions

Scenario You are given a dataset with one input feature x and a target y. The interviewer asks: “How would you model this?” Later, you are shown a plo...

Machine Learning
10
0
126 people solved
Feb 12, 2026
Point72 logo
Point72
Medium
Machine Learning Engineer Locked

Design Features for Residual Volatility

You have historical intraday data for a universe of equities. Design features and a modeling approach to predict a target stock's volatility over the ...

Machine Learning
3
0
36 people solved
Apr 14, 2026
Previous1234...10Next
Try
Popular Categories
SQL
Share & Earn

3 days of Premium, free

Post about PracHub on social, unlock a trial.

Submit a post
Daily Quest

Sign in to earn XP for every problem you solve.

PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.