Pinterest Machine Learning 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."
Prevent Vanishing Gradients in Deep Networks
Prevent Vanishing Gradients in Deep Networks Clarifying Questions to Ask - Are we discussing feed-forward networks, recurrent networks, or both? - Sho...
Design User and Item Embeddings from Long Histories
Design User and Item Embeddings from Long Histories Design an embedding system that represents users and visual-content items for retrieval or recomme...
Rank Newly Launched Ads Under Cold Start
Rank Newly Launched Ads Under Cold Start Design a ranking model dedicated to ads launched within the last seven days, where direct performance history...
Describe a Failure or Mistake and Its Lasting Lesson
Describe a Failure or Mistake and Its Lasting Lesson Tell me about a meaningful professional failure or mistake. What did you own, how did you respond...
Explain a Project Through Business Impact and User Value
Explain a Project Through Business Impact and User Value Prompt Describe a project from your current or recent work. Explain the problem, your contrib...
Bias-Variance Tradeoff and Vanishing Gradients in Feedforward Networks
This question evaluates conceptual understanding of the bias-variance tradeoff and the vanishing-gradient problem in deep feedforward networks, two co...
Implement a Stateful Search Autocomplete Session
Implement a Stateful Search Autocomplete Session Build an autocomplete engine from historical sentences and their usage counts. While a user types a s...
Explain overfitting, underfitting, and regularization
This question evaluates understanding of model generalization, overfitting versus underfitting, the bias–variance tradeoff, and regularization techniq...
Design notification and feed recommenders
This question evaluates an engineer's ability to design scalable, production-ready recommendation systems for notifications and home feeds, encompassi...
Design a real-time home feed ranker
This question evaluates an engineer's ability to design scalable, low-latency real-time recommendation and ranking systems that integrate personalizat...
First Word Matching Each Prefix Query
This question evaluates a candidate's grasp of string data structures and efficient prefix-matching techniques, core competencies in coding and algori...
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 ...
Solve a 9x9 Sudoku puzzle
Given a partially filled 9×9 Sudoku board, fill the empty cells so that the completed board is valid. A valid Sudoku satisfies: - Each row contains di...
Design Detection Systems for Risk and Safety
This question evaluates a machine learning engineer's competence in designing end-to-end detection systems for risk and safety, covering skills in dat...
Answer core ML fundamentals questions
You are asked several short ML fundamentals questions: 1) Define precision and recall for a binary classifier and explain how they relate to a confusi...
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...
Explain bias–variance, overfitting, and vanishing gradients
This question evaluates understanding of core machine learning fundamentals—specifically the bias–variance tradeoff, overfitting detection and mitigat...
Explain learning-rate fluctuation and vanishing gradients
ML Fundamentals Answer the following conceptual questions: 1. Learning rate vs. training stability: Why can training metrics (loss/accuracy) fluctuate...
Design an ads system to improve CTR
Design an ML system to increase the click-through rate (CTR) of ads shown in the personalized feed of an online social media platform. You run the ran...
Design an unsafe content detection system
This question evaluates a candidate's competency in end-to-end machine learning system design for unsafe user-generated content detection, covering mu...