Apple interview practice

Apple interview questions

135 questions; coding questions sorted by reports.

FastPrep has 103 coding questions tagged Apple, plus 27 system design, 3 low-level design and 2 project coding questions. Filter them by interview stage and open any one to practice it.

Questions
135 (103 coding, 32 design and project)
By stage
Online Assessment 10 · Phone Screen 72 · Onsite 31
Updated

Question list

All 103 Apple coding questions

Sorted by how many times each question was reported. Pick a stage to see only its questions.

Showing 103 of 103 Apple questions.

QuestionDifficultyStageReports
LRU CacheHash TableDesignMediumPhone · Onsite4 reports · last Dec 2026
Topological OrderingGraphHeapMediumPhone · Onsite4 reports · last Nov 2026
Merge IntervalsArraySortingMediumOA · Phone · Onsite4 reports · last Nov 2026
Implement Hit CounterQueueDesignMediumPhone · Onsite3 reports · last Oct 2026
Reverse a Linked ListLinked ListRecursionEasyPhone2 reports · last Nov 2026
Days Until Poisoned Plants StabilizeMatrixBreadth-First SearchMediumPhone2 reports · last Oct 2026
Count Nodes in a ChainLinked ListTwo PointersEasyPhone2 reports · last Oct 2026
Producer-Consumer QueueQueueDesignMediumPhone2 reports · last Oct 2026
Merge Two Strings by Maximum Boundary OverlapStringMediumOA2 reports · last Sep 2026
Count Islands in a Binary GridArrayMatrixMediumPhone2 reports · last Aug 2026
Design Hash MapHash TableDesignEasyPhone2 reports · last Aug 2026
Subarray Sum Equals KArrayPrefix SumMediumPhone · Onsite2 reports · last Jan 2026
3SumArraySortingMediumPhone · Onsite2 reports · last Dec 2025
Implement Multi-Head AttentionMatrixMathHardPhone2 reports · last Sep 2025
Middle of a Linked ListLinked ListTwo PointersEasyPhone · Onsite2 reports · last Aug 2025
Coin Change IIArrayDynamic ProgrammingMediumPhone · Onsite2 reports · last Aug 2025
Subarray Product Less Than KArraySliding WindowMediumPhone1 report · last Nov 2026
Evaluate DivisionGraphDepth-First SearchMediumPhone1 report · last Nov 2026
Validate a BST with a Custom ComparisonTreeDepth-First SearchMediumPhone1 report · last Nov 2026
Design a Food Rating SystemDesignHash TableMediumPhone1 report · last Oct 2026
Capture Surrounded Regions with Union-FindMatrixUnion FindMediumPhone1 report · last Oct 2026
Maintain a Consistent-Hashing RingDesignBinary SearchMediumPhone1 report · last Oct 2026
Run-Length DecodingStringSimulationEasyPhone1 report · last Oct 2026
FIFO Mutex Operation TraceQueueDesignMediumOnsite1 report · last Oct 2026
Reusable Cyclic BarrierDesignMediumPhone1 report · last Oct 2026
Customer Order Count Distribution by CountryDatabaseEasyPhone1 report · last Oct 2026
iPhone Model Sales Share by CountryDatabaseMediumPhone1 report · last Oct 2026
Query Weekly Store Opening HoursIntervalsSortingMediumPhone1 report · last Oct 2026
Top Five Countries by Product RevenueDatabaseMediumPhone1 report · last Oct 2026
Parse Nested HTML into a TreeStringStackMediumOnsite1 report · last Oct 2026
Thread-Safe Concurrent Linked ListLinked ListConcurrencyMediumOnsite1 report · last Sep 2026
Design Authentication ManagerDesignHash TableMediumPhone1 report · last Sep 2026
Unit Conversion Across Independent FamiliesGraphBreadth-First SearchMediumPhone1 report · last Sep 2026
First Successful Concurrent API Result Before a TimeoutArraySimulationEasyPhone1 report · last Sep 2026
Canonical N-Ary Tree CodecTreeDepth-First SearchMediumPhone1 report · last Sep 2026
3D Grid Diagonal Walk ProbabilityDynamic ProgrammingMathMediumPhone1 report · last Sep 2026
Palindrome Match PercentageStringTwo PointersEasyOnsite1 report · last Sep 2026
Sparse Matrix MultiplicationArrayMatrixMediumPhone1 report · last Aug 2026
Binary Tree Nodes at Distance KTreeBreadth-First SearchMediumOnsite1 report · last Aug 2026
BST to Sorted Circular Doubly Linked ListTreeLinked ListMediumOnsite1 report · last Aug 2026
Classify Natural-Month Distance Between DatesParsingMathMediumOnsite1 report · last Aug 2026
Copy a Random-Pointer List in Constant SpaceLinked ListHash TableMediumOnsite1 report · last Aug 2026
Top K Closest Pairs in a Sorted ArrayArraySortingMediumOnsite1 report · last Aug 2026
HTTP Status Log SummaryStringParsingMediumPhone1 report · last Jul 2026
Insert IntervalArrayIntervalsMediumPhone1 report · last Jul 2026
Extract a Register Bit FieldBit ManipulationEasyOnsite1 report · last Jul 2026
Group Transitive String AliasesGraphUnion FindMediumPhone1 report · last Jul 2026
Merge Two Sorted Linked ListsLinked ListTwo PointersEasyOnsite1 report · last Jul 2026
Design Task ManagerDesignHash TableMediumPhone1 report · last Jul 2026
Unit Conversion IIArrayGraphMediumPhone1 report · last Jul 2026
Two-Color an Undirected GraphGraphDepth-First SearchMediumPhone1 report · last Jul 2026
Word Search IITrieBacktrackingHardPhone1 report · last Jul 2026
All Subsets with a Given SumArrayBacktrackingMediumPhone1 report · last Jul 2026
Phone DirectoryHash TableDesignMediumPhone1 report · last Jul 2026
Product Except Self With ZerosArrayPrefix SumMediumOnsite1 report · last Jul 2026
Subset Sum PossibleDynamic ProgrammingArrayMediumPhone · Onsite1 report · last Jul 2026
Validate Completed SudokuMatrixHash TableMediumPhone1 report · last Jun 2026
Shortest-Path Distances with DijkstraGraphShortest PathMediumPhone1 report · last May 2026
Implement K-Means ClusteringArrayMathHardPhone1 report · last Feb 2026
Meeting Room Request FeasibilityArraySortingEasyPhone1 report · last Feb 2026
Minimum Additional Meeting RoomsArraySortingMediumPhone1 report · last Feb 2026
Lazy Binary Tree Inorder IteratorTreeStackMediumPhone1 report · last Jan 2026
Online Counts over TimeSortingPrefix SumMediumPhone1 report · last Dec 2025
Plant Connected Vegetable GroupsMatrixSimulationMediumOnsite1 report · last Dec 2025
Compute TF-IDF ScoresStringMathMediumPhone1 report · last Nov 2025
Substring Match GeneratorStringMediumPhone1 report · last Nov 2025
LLM SDK Output StrategiesStringSimulationEasyPhone1 report · last Oct 2025
Implement Beam Search DecodingSortingSimulationMediumPhone1 report · last Sep 2025
Print a Diamond PatternStringMathEasyPhone1 report · last Sep 2025
AI Role: Collection with Add and Remove OperationsArrayHash TableEasyPhone1 report · last Aug 2025
AI Role: Next-Word Prediction from a Cleaned CorpusStringHash TableMediumPhone1 report · last Aug 2025
AI Role: Offline RAG Pipeline with a Model AdapterArraySortingMediumPhone1 report · last Aug 2025
Binary Tree Zigzag Level OrderTreeBreadth-First SearchMediumPhone1 report · last Aug 2025
Top K Frequent ElementsArrayHash TableMediumPhone1 report · last Aug 2025
Coin ChangeArrayDynamic ProgrammingMediumPhone1 report · last Aug 2025
Collect Letters Along a Unique Grid PathMatrixSimulationEasyOA1 report · last Aug 2025
Maximum Weight in Two BagsArrayDynamic ProgrammingMediumOA1 report · last Aug 2025
Longest Valid ParenthesesStringStackHardPhone1 report · last Jun 2025
Valid ParenthesesStringStackEasyPhone1 report · last Jun 2025
Implement Circular PaddingMatrixMathMediumOnsite1 report · last May 2025
Implement k-Nearest NeighborsSortingHash TableMediumPhone1 report · last May 2025
Shortest Grid Path with Weighted ObstaclesMatrixShortest PathHardPhone1 report · last Feb 2025
Reverse a String without Built-In ReversalStringStackEasyPhone1 report · last Dec 2024
Rotate Array by KArrayMathEasyPhone1 report · last Nov 2024
Ignore SectionsArraySimulationEasyOA1 report · last Mar 2024
Corresponding Node in a Cloned TreeTreeDepth-First SearchMediumOnsite1 report · last Nov 2021
Two Eggs: Minimum Worst-Case DropsMathBinary SearchMediumOnsite1 report · last Nov 2021
Gas Station Circular TourArrayGreedyMediumOA1 report · last Nov 2021
House Robber IIArrayDynamic ProgrammingMediumOA1 report · last Nov 2021
Lowest Common Ancestor in a Binary TreeTreeDepth-First SearchMediumPhone1 report · last Oct 2021
Check Identical Binary TreesTreeDepth-First SearchEasyOnsite1 report · last Apr 2021
Clone an Undirected Graph StateGraphHash TableMediumOA1 report · last Mar 2021
Longest Increasing Subsequence LengthArrayBinary SearchMediumOA1 report · last Feb 2021
Maximum Later DifferenceArrayGreedyEasyOA1 report · last Feb 2021
Two SumArrayHash TableEasyOnsite1 report · last Nov 2020
First and Last Position in a Sorted ArrayArrayBinary SearchMediumPhone1 report · last Dec 2019
Elements After the First TargetArrayEasyPhone1 report · last May 2019
Nearest Palindromic NumberStringMathHardOnsite1 report · last Apr 2019
Count Pairs Divisible by KArrayHash TableMediumOnsite1 report · last Apr 2019
Shortest Subarray with Sum at Least KArrayPrefix SumHardOnsite1 report · last Apr 2019
Josephus SurvivorMathRecursionMediumOnsite1 report · last Jan 2019
Next Leaf in an Ordered TreeTreeDepth-First SearchMediumPhone1 report · last May 2018
String to Integer (atoi)StringMathMediumPhone1 report · last Oct 2015

At a glance

Apple interview process

FastPrep has 103 Apple coding interview questions: 10 questions from the online assessment (OA), 72 questions from phone screens and 31 questions from onsite rounds. A question can be reported in more than one stage. Most are medium (73 medium, 23 easy and 7 hard). The most common topics are Array, Simulation, Hash Table, String and Math. The latest report is from Dec 2026.

  • Online Assessment

    10 questions · 7 medium and 3 easy

    Topics: Array, Dynamic Programming and Greedy

    Latest report: Nov 2026

  • Phone Screen

    72 questions · 52 medium, 15 easy and 5 hard

    Topics: Array, Hash Table and Simulation

    Latest report: Dec 2026

  • Onsite

    31 questions · 23 medium, 6 easy and 2 hard

    Topics: Array, Math and Linked List

    Latest report: Dec 2026

By stage and level

Apple questions by stage and level

Current official guidance

Apple's technical work spans different specialties.

Apple's Software and Services careers page distinguishes areas such as apps, cloud infrastructure, operating systems, and software quality. It is role context, not a published universal interview sequence.

Primary sources checked .

  • Use your team and role description to choose the relevant technical practice.
  • This page does not claim to cover behavioral or hardware interviews.

01 · Preparation plan

Choose a technical track, then test the underlying assumptions.

Apple's public practice inventory spans coding fundamentals and service design. Prepare for the technical work relevant to your role without presenting the page as a behavioral, hardware, or universal full-loop guide. This is a suggested practice order, not Apple's interview process. Your invitation and recruiter come first.

  1. 01

    Strengthen data-structure reasoning

    Use graph, tree, or stateful data-structure practice to connect the chosen representation to a clear correctness argument.

    • State the invariant for a traversal, lookup, or update.
    • Test cycles, disconnected inputs, duplicate values, and empty structures where applicable.
    • Explain why the approach meets the memory and runtime constraints.
  2. 02

    Design for cross-device or service state

    When a relevant design exercise is available, use synchronization, storage, or event collection to practice consistency and failure handling.

    • Clarify what the client sees while devices or services are disconnected.
    • Define conflict resolution and duplicate-event behavior.
    • Explain storage, recovery, and observability tradeoffs before naming products.
  3. 03

    Match preparation to the actual role

    Turn the job description and recruiter guidance into a short technical study plan; a broad company label is not a substitute for team requirements.

    • Choose one implementation exercise and one relevant design exercise if offered.
    • Explain how your solution changes under the role's likely constraints.
    • Use the next study block to close a specific technical gap from the role description.

02 · Design and project questions

32 Apple design and project questions

Beyond coding questions, FastPrep has 27 system design, 3 low-level design and 2 project coding questions tagged Apple.

System designLast reported Dec 2026

Design an Event-Driven Notification System

Design a reliable multi-channel notification platform for a high-cardinality internal producer fleet, with durable event handoff, fair admission, priority classes, bulk sends paced under provider rate limits, provider isolation, and recoverable poison messages.

Practice
System designLast reported Nov 2026

Design a Cloud File Storage System

Design a Drive-like service for durable, chunked file storage, sharing, versions, and multi-device synchronization. Audit a first-letter photo placement plan and its database-cost drivers.

Practice
System designLast reported Nov 2026

Design a Stateless Generative AI Chat Service

Design a highly available text-generation service that streams model responses, scales scarce inference capacity, recovers from failures, and exposes useful operational metrics.

Practice
System designLast reported Nov 2026

Design an AI Agent That Processes a Data Stream

Build a service where an AI agent reads events from a live stream, decides what to do with each one and acts through a small set of tools, keeping up with the stream and never doing the same action twice.

Practice
System designLast reported Nov 2026

Design a Distributed Rate Limiter

Design a multi-tenant distributed limiter that smooths priority and regular traffic under versioned quotas, retries, and partial failure.

Practice
System designLast reported Nov 2026

Design a Ticket Booking System

Design the catalog, availability, pricing, reservation, and payment path for a high-demand movie and event ticketing platform.

Practice
System designLast reported Oct 2026

Design a Hardware Signal Sink to Object Storage

Receive a stream of hardware signals at about 100 requests per second, batch them with an in-memory buffer, and store them in object storage without losing acknowledged data.

Practice
System designLast reported Oct 2026

Design a Centralized Log Ingestion and Search Platform

Design a multi-tenant platform that durably ingests structured logs and provides coherent recent-event search and exact keyword occurrence counts.

Practice
System designLast reported Oct 2026

Design a Real-Time Category Leaderboard

Design category-partitioned leaderboards that ingest scores idempotently and publish fresh rankings under skewed load.

Practice
System designLast reported Oct 2026

Design a Distributed Cache with an Index Database

Keep a durable key index consistent with evictable cached blobs through concurrent updates, expiry, and cache-node failure.

Practice
System designLast reported Oct 2026

Design an Analytical Data Dashboard

Design a trustworthy dashboard platform that derives versioned metrics from event data and serves fast, reproducible slices.

Practice
System designLast reported Oct 2026

Design Consumer-Outage Backlog Recovery

Keep a durable event stream safe and recoverable when consumers stop while producers continue publishing.

Practice
System designLast reported Oct 2026

Design Top-K News Articles in a Time Window

Rank the most-viewed news articles for a requested historical time window at large scale.

Practice
System designLast reported Sep 2026

Design an Asynchronous Cloud Resource API

Design a cloud-provider API that lets Terraform create, inspect, update, and delete resources while polling for long-running operation results.

Practice
System designLast reported Sep 2026

Evolve a Read-Write Record Service

Evolve a single-database record API through measured read and write growth while preserving versioned updates, freshness, and an online migration path.

Practice
System designLast reported Sep 2026

Design Multi-Data-Center Storage Demand Forecasting

Design a versioned forecasting platform that predicts daily storage demand across 100 data centers and produces useful uncertainty for newly launched centers.

Practice
System designLast reported Sep 2026

Design Predictive File Storage-Tier Placement

Design an ML-backed control plane that predicts file access and safely places files in hot or archive storage to reduce cost without breaking retrieval.

Practice
System designLast reported Aug 2026

Design a Multi-Version Configuration Service

Design a configuration registry with immutable versions, an explicit current version, and safe rollback.

Practice
System designLast reported Aug 2026

Design a Multimodal RAG Retrieval Platform

Design a versioned ingestion and retrieval platform for text and image evidence used by retrieval-augmented applications.

Practice
System designLast reported Aug 2026

Design Cross-Device Wallpaper Synchronization

Design responsive cross-device wallpaper state propagation and constrained resumable asset delivery.

Practice
System designLast reported Aug 2026

Design a Mobile Application Event Collection API

Design a reliable, privacy-aware API that accepts mobile application events despite retries, offline clients, and evolving schemas.

Practice
System designLast reported Aug 2026

Design an On-Prem Media Transfer for Cloud GPU Training

Design a secure, resumable pipeline that moves a 200 TB media corpus from on-premises storage into cloud object storage and continuously feeds a cloud GPU training cluster.

Practice
System designLast reported Aug 2026

Design an ML Training and Deployment Platform

Design reproducible training, immutable model registration, and deployments to online and batch inference in a bounded multi-tenant platform.

Practice
System designLast reported Aug 2026

Design a Multi-Device Photo Storage System

Design photo upload, download, multi-device synchronization, and hot/cold storage with metadata separated from immutable blobs.

Practice
System designLast reported Aug 2026

Design an Online Voting Service

Design APIs and storage for creating bounded elections, accepting one eligible vote per voter, and publishing trustworthy results.

Practice
Low-level designLast reported Jul 2026

Shared-Memory Single-Writer Single-Reader Channel

Design a bounded shared-memory message channel between two processes, with safe record ownership, FIFO delivery and explicit full, empty and drained outcomes.

Practice
System designLast reported Jul 2026

Design a Large JSON and XML Transformation Service

Design a bounded-memory service that transforms a 300 GB JSON array on one 16 GiB, 8-core worker with durable job control and monitoring. Add a finite independent-record XML profile with explicit parser limits and restart context while preserving the JSON interface.

Practice
Project codingLast reported Feb 2026

Debug a UNet Segmentation Model

Debug an existing UNet implementation.

Practice
Project codingLast reported Aug 2025

Extend a Three-Bot Rock Paper Scissors Game

Modify an existing three-bot game to support configurable rounds and count draws while retaining each bot’s wins.

Practice
Low-level designLast reported Nov 2021

Design a Priority and Arrival-Time Scheduler

Model a nonpreemptive single-core scheduler with deterministic eligibility, priority selection and explicit lifecycle commands.

Practice
Low-level designLast reported Nov 2021

Design a Single-Branch Car Rental

Model reservation, pickup and return while protecting each car from conflicting bookings and simultaneous rentals.

Practice
System designLast reported Jan 2019

Design a Recursive DNS Resolver

Resolve typed domain queries through the DNS hierarchy while controlling cache freshness, dependency failure and miss amplification.

Practice

03 · About these questions

Where these Apple questions come from

Each question on this page is tagged Apple in FastPrep's problem bank. The report count and month show how often and how recently it was reported from Apple interviews.

Past reports help you choose what to practice first. They can't tell you which questions, format or platform your own interview will use.

  • Only questions tagged Apple appear on this page.
  • Each coding question shows its stage and last report date when known.
  • These are not official, private or leaked Apple questions.

04 · FAQ

Apple interview questions: FAQ

For hiring news and timelines, see the Apple hiring insights page.

01What are the stages of the Apple interview?

The 103 Apple coding questions on FastPrep come from the online assessment (10 questions), phone screens (72 questions) and onsite rounds (31 questions). Some questions were reported in more than one stage. Stages differ by role, level and date, so check your invitation for your own process.

02What does the Apple OA look like?

10 of the 103 Apple coding questions on FastPrep come from the online assessment. By difficulty: 7 medium and 3 easy. Common OA topics: Array, Dynamic Programming and Greedy. The latest OA report is from Nov 2026.

03How hard is the Apple interview?

Most Apple coding questions on FastPrep are medium. By difficulty, the 103 rated questions are 73 medium, 23 easy and 7 hard.

04What topics come up in Apple coding interviews?

Across 103 Apple coding questions, the most common topics are Array (34 questions), Simulation (19 questions), Hash Table (18 questions), String (18 questions) and Math (17 questions).

05What are the most asked Apple interview questions?

The most reported questions are “LRU Cache” (4 reports), “Topological Ordering” (4 reports) and “Merge Intervals” (4 reports).

06Does this cover every type of Apple interview?

No. The page is limited to technical practice supported by 103 public coding problems and 27 system-design exercises. It is not a behavioral-question bank, hardware-interview guide, or complete process map. Use your team's role description and invitation to choose the relevant exercises.

07Is FastPrep affiliated with Apple?

No. FastPrep is an independent interview prep site and is not affiliated with Apple. These are practice questions from FastPrep's problem bank, not official, private or leaked Apple questions.

08How do you know which stage a Apple question is from?

Each question's stage comes from the reports behind it. A question can be reported from more than one stage, and the process can change by role, level, location and year, so treat the stage as a guide, not a promise.

09Which Apple interview stage should I practice first?

The stage named in your invitation or recruiter message. If you don't know the stage yet, start with the stage that has the most questions, then practice explaining and testing your code out loud.

10Can this page tell me exactly what my Apple interview will ask?

No. Report counts, stages and dates show what came up before and help you choose what to practice first. They can't predict the questions, order, timing or platform of your own interview.

Next step

Pick a question. Solve it end to end.

Start with the stage named in your invitation. Past reports show what came up before, not what you will be asked.

Back to the question list