Machine Learning Engineer Machine Learning Interview Questions

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

217 Questions 73 Companies07.25.2026
Showing 20 results
Role
Cresta logo
Cresta
Medium
Machine Learning Engineer

Implement greedy and beam decoding

Implement Greedy and Beam Search Decoders over Next-Token Probabilities Context You are given a directed token graph represented as a Python dictionar...

Machine Learning
68
0
561 people solved
Sep 6, 2025
Lyft logo
Lyft
Medium
Machine Learning EngineerIntern

Explain Transformer and Fine-Tuning Basics

You are interviewing for an AI-focused engineering internship. Explain the following: 1. What is the difference between a transformer model and an emb...

Machine Learning
13
0
123 people solved
Mar 12, 2026
OpenAI logo
OpenAI
Medium
Machine Learning Engineer

Implement Prefix Products and Their Backward Pass

Let x[0..n-1] be a sequence and define inclusive prefix products by y[i] = x[0] x[1] ... * x[i]. Work through the following variants. State how zero...

Machine Learning
4
0
53 people solved
Aug 23, 2025
Uber logo
Uber
Easy
Machine Learning EngineerIntern

Explain and test completion-rate gaps

In a food delivery marketplace, alcohol-related orders have a lower order completion rate than non-alcohol orders. Answer the following: 1. Propose se...

Machine Learning
25
0
279 people solved
Mar 9, 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
107
0
828 people solved
Aug 11, 2025
Netflix logo
Netflix
Medium
Machine Learning Engineer

Compare Losses and Explain LoRA

ML Fundamentals: Loss Functions and Low-Rank Adaptation This is a rapid-fire ML fundamentals screen. You are expected to reason precisely about loss f...

Machine Learning
28
0
220 people solved
Apr 22, 2026
Coinbase logo
Coinbase
Medium
Machine Learning Engineer

Build a baseline classification model from messy data

In a live notebook (e.g., Jupyter), you are given a messy, real-world tabular dataset for a binary classification problem. Data characteristics - Targ...

Machine Learning
13
0
132 people solved
Dec 4, 2025
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
10
0
73 people solved
Feb 25, 2026
OpenAI logo
OpenAI
Hard
Machine Learning Engineer

Debug a transformer training pipeline

Debug a Transformer training pipeline You are handed a PyTorch Transformer encoder–decoder training pipeline that misbehaves. The pipeline includes to...

Machine Learning
58
0
1015 people solved
Jul 31, 2025
Netflix logo
Netflix
Medium
Machine Learning Engineer

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

Machine Learning
14
0
123 people solved
Feb 23, 2026
TikTok logo
TikTok
Medium
Machine Learning EngineerNew Grad

Explain overfitting, dropout, normalization, RL post-training

Machine Learning fundamentals Answer the following: 1. What is overfitting? How can it be mitigated in machine learning? 2. Narrowing to deep learning...

Machine Learning
13
0
104 people solved
Feb 12, 2026
Reddit logo
Reddit
Medium
Machine Learning Engineer Locked

Analyze CTR Data and Train Model

This question evaluates end-to-end supervised machine learning competencies for tabular click-through rate prediction, including exploratory data anal...

Machine Learning
8
0
109 people solved
Feb 1, 2026
Pinterest logo
Pinterest
Hard
Machine Learning Engineer

Implement bagging with decision trees

Implement a simple bagging (bootstrap aggregating) classifier that uses decision trees as base learners. You are given a template with a DecisionTree ...

Machine Learning
10
0
115 people solved
Feb 9, 2026
Shopify logo
Shopify
Medium
Machine Learning Engineer

Model Product Ranking

You are building a machine learning model for product ranking in an e-commerce marketplace. Given a user, context, and a set of candidate products, ra...

Machine Learning
5
0
91 people solved
Apr 1, 2026
Microsoft logo
Microsoft
Medium
Machine Learning Engineer Locked

How do you choose a model?

This question evaluates skills in model selection, task and business-objective definition, data-property analysis, production constraint reasoning, ba...

Machine Learning
10
0
97 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
15
0
148 people solved
Dec 27, 2025
OpenAI logo
OpenAI
Medium
Machine Learning Engineer Locked

Debug Transformer and Add KV Cache

This question evaluates debugging and implementation skills for transformer-based autoregressive language models, focusing on attention mechanics, pos...

Machine Learning
80
0
663 people solved
Feb 1, 2026
Amazon logo
Amazon
Hard
Machine Learning Engineer Locked

Explain NLP/RL concepts used in LLM agents

This question evaluates proficiency in transformer-based NLP, embedding methods, LLM agent architecture and evaluation, retrieval techniques for RAG, ...

Machine Learning
23
0
214 people solved
Feb 9, 2026
Point72 logo
Point72
Medium
Machine Learning Engineer Locked

Design Features for Residual Volatility

This question evaluates competency in feature engineering for financial time-series, volatility forecasting after removing systematic market effects, ...

Machine Learning
5
0
63 people solved
Apr 14, 2026
Pinterest logo
Pinterest
Hard
Machine Learning Engineer

Implement Naive Bayes classifier from scratch

Implement a Naive Bayes classifier from scratch (you may use NumPy). Write a class with: - fit(X, y): estimate class priors and feature likelihood par...

Machine Learning
6
0
98 people solved
Feb 9, 2026

Explore more Machine Learning Engineer Machine Learning interview questions

Real questions from candidate reports, grouped by company, topic and role.

By company
Other categories for Machine Learning Engineer
Machine Learning questions for other roles
Browse all