Back to Problems
Apple ML Interview Questions
85 real machine-learning interview questions reported from Apple.
Practice on the problems board →Top K Frequent Elements
Coding & Leetcode-style QuestionsApple Full-Stack Software Engineer Interview Loop
BehavioralDesign Apple News Search (No ML, V1)
System Design for MLDesign a Concurrent Image Upload System
System Design for MLDesign a Distributed Rate Limiter with Redis Lua
System Design for MLDesign a Distributed Task Scheduler
System Design for MLDesign an Ad Click Aggregation Pipeline
System Design for MLBag-of-Words Similarity Search From Scratch
NLP (non-LLM)Design Siri's Grounded Response Generation
System Design for MLIntersection of Two Linked Lists
Coding & Leetcode-style QuestionsML Systems Engineer, Siri Runtime — Screening
System Design for MLOnline Token Processing, Embeddings, and Classification
MLOps & DeploymentDesign App Store Search and Ranking
System Design for MLML Systems Codebase Deep Dive on One Project
MLOps & DeploymentBinary Tree Vertical Order Traversal
Coding & Leetcode-style QuestionsKubernetes Service Filter and Dependency Chain
Coding & Leetcode-style QuestionsSearch a 2D Matrix
Coding & Leetcode-style QuestionsMerge Two Sorted Linked Lists
Coding & Leetcode-style QuestionsImplement a Debounce Function in JavaScript
Coding & Leetcode-style QuestionsDesign a Chat Application with Group and Offline Support
System Design for MLDebug a PyTorch UNet for Image Segmentation
Coding & Leetcode-style QuestionsImplement an Image Filter from Scratch
Coding & Leetcode-style QuestionsVectorized K-Means in NumPy or PyTorch
Coding & Leetcode-style QuestionsSystemVerilog DV Constraints and Architecture Loop
Coding & Leetcode-style QuestionsImplement a 3-Layer MLP for Linear Regression (Pure Numpy)
Deep Learning & ArchitecturesSample from a Gaussian Distribution Using Only Uniform Sampling
ML Fundamentals & AlgorithmsCompare PPO, DPO, and GRPO
Reinforcement LearningDesign a Scalable Visual Representation Framework Using Patchwise Feature Aggregation (ViT)
Deep Learning & ArchitecturesLazy Binary Tree Inorder Iterator (BSTIterator)
Coding & Leetcode-style QuestionsDesign a Large-Scale News Feed
System Design for MLDesign Object Storage / File Sync (Dropbox / S3)
System Design for MLBehavioral: Prioritization and Stakeholder Fit
BehavioralQuery Image Similarity Search
Coding & Leetcode-style QuestionsML Fundamentals and Model Debugging Rapid-Fire
ML Fundamentals & AlgorithmsAirplane Seat Reservation API
Coding & Leetcode-style QuestionsOS Fundamentals and Concurrency Drill
Coding & Leetcode-style QuestionsDesign a Real-Time Log Processing System
System Design for MLDesign a ChatGPT-like Conversational AI System
System Design for MLDedupe Unsorted Array (Three Variants)
Coding & Leetcode-style QuestionsZero Out Duplicates and Sort Without Native Sort
Coding & Leetcode-style QuestionsImplement Multi-Head Transformer Attention with Masks
Coding & Leetcode-style QuestionsFrontend React Screen
Coding & Leetcode-style QuestionsKoko Eating Bananas
Coding & Leetcode-style QuestionsLLM conceptual questions (Not tied with a particular company)
Research & Paper UnderstandingHotel Booking System OOD with Concurrency
Coding & Leetcode-style QuestionsReconstruct Itinerary
Coding & Leetcode-style QuestionsHappy Number Service at Scale
Coding & Leetcode-style QuestionsShortest Path in a Grid with Obstacle Removal
Coding & Leetcode-style QuestionsRotate Image 90 Degrees In Place
Coding & Leetcode-style QuestionsValid Palindrome
Coding & Leetcode-style QuestionsBest Time to Buy and Sell Stock
Coding & Leetcode-style QuestionsCheapest Flights Within K Stops
Coding & Leetcode-style QuestionsMaximum Number of Eaten Apples
Coding & Leetcode-style QuestionsBus Route Earliest Arrival Time
Coding & Leetcode-style QuestionsNumbers with No Neighbors
Coding & Leetcode-style QuestionsImplement TF-IDF from Scratch
Coding & Leetcode-style QuestionsLRU Cache
Coding & Leetcode-style QuestionsContainer With Most Water
Coding & Leetcode-style QuestionsProduct of Array Except Self
Coding & Leetcode-style QuestionsOut of Boundary Paths
Coding & Leetcode-style QuestionsTrapping Rain Water
Coding & Leetcode-style QuestionsLongest Mountain in Array
Coding & Leetcode-style QuestionsNumber of Islands
Coding & Leetcode-style QuestionsCourse Schedule: Can All Courses Be Finished
Coding & Leetcode-style QuestionsWeighted Random Load Balancer
Coding & Leetcode-style QuestionsAdd Bold Tags to a String
Coding & Leetcode-style QuestionsImplement a Trie (Prefix Tree)
Coding & Leetcode-style QuestionsKth Largest Element in an Array
Coding & Leetcode-style QuestionsShortest Bridge Between Two Islands
Coding & Leetcode-style QuestionsDeck Shuffle and Draw (OOD)
Coding & Leetcode-style QuestionsRedundant Connection
Coding & Leetcode-style QuestionsDecode String
Coding & Leetcode-style QuestionsOne Edit Distance
Coding & Leetcode-style QuestionsValid Parentheses
Coding & Leetcode-style QuestionsFind Median via Count Oracles
Coding & Leetcode-style QuestionsMerge Intervals
Coding & Leetcode-style QuestionsSubarray Sum Equals K
Coding & Leetcode-style QuestionsFind K Pairs with Smallest Sums
Coding & Leetcode-style QuestionsPermutations
Coding & Leetcode-style QuestionsGroup Anagrams
Coding & Leetcode-style QuestionsInsert Delete GetRandom O(1)
Coding & Leetcode-style QuestionsFailed Login Log Ranking
Coding & Leetcode-style QuestionsDesign and Implement a HashMap from Scratch
Coding & Leetcode-style QuestionsDesign a Hit Counter for the Past 5 Minutes
Coding & Leetcode-style QuestionsDesign a Key-Value Store with Point-in-Time Snapshots
Coding & Leetcode-style Questions