Back to Problems
Meta ML Interview Questions
60 real machine-learning interview questions reported from Meta.
Practice on the problems board →LLM with Beam Search and Nucleus Sampling (Meta MSL)
LLMs & Prompt EngineeringMinimum Remove to Make Valid Parentheses
Coding & Leetcode-style QuestionsDesigning YouTube
System Design for MLCount Lakes Wrapped by a Given Island
Coding & Leetcode-style QuestionsMaze Solver Extension Ladder
Coding & Leetcode-style QuestionsLongest Repeating Character Replacement
Coding & Leetcode-style QuestionsBinary Tree Vertical Order & Right Side View
Coding & Leetcode-style QuestionsLowest Common Ancestor (BST / Binary Tree / N-ary)
Coding & Leetcode-style QuestionsWalls and Gates / Max Area of Island
Coding & Leetcode-style QuestionsPow(x, n) — Fast Exponentiation
Coding & Leetcode-style QuestionsCompiler Cost Extraction with Inferred Constants
Coding & Leetcode-style QuestionsTree Diameter / Longest Path
Coding & Leetcode-style QuestionsDesign a Ticketing System with Flash-Sale Concurrency
System Design for MLDesign a Trending-Hashtags Detection System
System Design for MLDesign Image Copyright-Violation Detection
System Design for MLDesign Multi-Source Notification Ranking
System Design for MLDesign a Post Search Engine (Mini Elasticsearch)
System Design for MLAI-Oriented Behavioral Round (AI-Native Loop)
BehavioralDot Product with Run-Length Encoded Vectors
Coding & Leetcode-style QuestionsDesign Harmful-Content Detection (Weapon Sales) at Scale
System Design for MLDesign a Nearby-Place Recommender (Location-Aware)
System Design for MLDesign a Reels Short-Video Recommender
System Design for MLDesign Meta Ads Ranking
System Design for MLDesign Instagram / Facebook News Feed
System Design for MLDesign a Top-K trending items service
System Design for MLML Foundations: Optimizers, Scaling Laws, K-Means, GMM
ML Fundamentals & AlgorithmsPE Troubleshooting: Web Server Down / Disk Full
MLOps & DeploymentImplement a 3-Layer MLP for Linear Regression (Pure Numpy)
Deep Learning & ArchitecturesMeta AI Assisted Coding Interview
LLMs & Prompt EngineeringAI Coding: Maze Solver (BFS to Keys/Doors to Bombs)
Coding & Leetcode-style QuestionsImplement Attention with Flash / Linear Attention Follow-ups
Coding & Leetcode-style QuestionsMouse and Cheese: Grid Reward Maximization
Coding & Leetcode-style QuestionsRemove Nth Node From End of List
Coding & Leetcode-style QuestionsAI-Assisted Project Round (Take-Home Style)
Coding & Leetcode-style QuestionsValid Palindrome II
Coding & Leetcode-style QuestionsData Engineer AI-Native Full-Stack Round
Coding & Leetcode-style QuestionsMinimum Remove to Make Valid Parentheses
Coding & Leetcode-style QuestionsDesign an Online Auction System with Concurrent Bidding
System Design for MLDesign an LLM-Agent System for Automation (Ticket Triage / Code Review)
System Design for MLDesign a Distributed Web Crawler
System Design for MLTraditional Behavioral Round at Meta
BehavioralMinimum Add to Make Parentheses Valid
Coding & Leetcode-style QuestionsAI Coding — Friend Recommendation
Coding & Leetcode-style QuestionsLLM conceptual questions (Not tied with a particular company)
Research & Paper UnderstandingShortest Unique Prefix
Coding & Leetcode-style QuestionsLRU Cache
Coding & Leetcode-style QuestionsBasic Calculator I / II
Coding & Leetcode-style QuestionsAI Coding: Card Game — Three Cards Summing to 15
Coding & Leetcode-style QuestionsKth Largest Element / Quickselect
Coding & Leetcode-style QuestionsValid Number
Coding & Leetcode-style QuestionsGroup Anagrams
Coding & Leetcode-style QuestionsContinuous Subarray Sum
Coding & Leetcode-style QuestionsMinimum Window Substring
Coding & Leetcode-style QuestionsFind a String Containing Another as a Substring
Coding & Leetcode-style QuestionsSubarray Sum Equals K
Coding & Leetcode-style QuestionsFind Peak Element
Coding & Leetcode-style QuestionsAlien Dictionary
Coding & Leetcode-style QuestionsDinosaur Speed: Time-Window Sensor Pairing
Coding & Leetcode-style QuestionsLongest Consecutive Sequence
Coding & Leetcode-style QuestionsBest Time to Buy and Sell Stock
Coding & Leetcode-style Questions