Apple Coding Interview Questions

We track 302 coding questions asked at Apple, tagged with the algorithms and concepts they test. The most common: Array, String, Hash Table, Dynamic Programming, Two Pointers.

Browse all 302 Apple questions →

Concept mix

Each question's weight is split evenly across its concepts, so the shares sum to 100%.

How many questions involve each concept

Share of all 302 tracked Apple questions that touch each concept. Questions usually involve several, so these overlap.

Where Apple differs from the average company

Concept weight at Apple relative to the average across all companies we track. Green means Apple leans on it harder than most.

Apple specialties

Concepts that show up at Apple but are rarely asked elsewhere. They are easy to get blindsided by.

Difficulty mix

Level split of the 302 tracked Apple questions.

  • Junior26% (78)
  • Mid/Senior59% (179)
  • Staff15% (45)

Every concept in Apple interviews

ConceptQuestions% of questionsShare of mix
Array15451.0%18.1%
String7223.8%10.1%
Hash Table6421.2%6.3%
Dynamic Programming4113.6%5.3%
Two Pointers3712.3%4.8%
Math3411.3%4.4%
Sorting3310.9%2.9%
Depth-First Search3210.6%2.7%
Binary Search3110.3%3.6%
Breadth-First Search309.9%2.7%
Matrix299.6%3.0%
Design289.3%2.6%
Linked List258.3%3.9%
Stack258.3%2.9%
Tree217.0%1.8%
Binary Tree206.6%1.8%
Heap (Priority Queue)186.0%1.2%
Divide and Conquer175.6%1.4%
Backtracking155.0%1.7%
Greedy155.0%1.8%
Recursion134.3%1.7%
Simulation134.3%1.4%
Sliding Window134.3%1.3%
Counting124.0%1.1%
Bit Manipulation113.6%1.3%
Prefix Sum113.6%1.2%
Graph Theory103.3%0.8%
Queue82.6%0.7%
Monotonic Stack72.3%0.7%
Trie72.3%0.6%
Ordered Set62.0%0.5%
Union-Find62.0%0.5%
Binary Search Tree51.7%0.4%
Memoization51.7%0.4%
Data Stream41.3%0.3%
Doubly-Linked List41.3%0.3%
Bucket Sort31.0%0.1%
Enumeration31.0%0.3%
Iterator31.0%0.2%
Merge Sort31.0%0.2%
Quickselect31.0%0.2%
Segment Tree31.0%0.2%
Topological Sort31.0%0.2%
Binary Indexed Tree20.7%0.1%
Counting Sort20.7%0.2%
Database20.7%0.7%
Geometry20.7%0.1%
Hash Function20.7%0.2%
Interactive20.7%0.3%
Sweep Line20.7%0.2%
Monotonic Queue20.7%0.1%
Randomized20.7%0.1%
Shortest Path20.7%0.1%
Bitmask10.3%0.1%
Eulerian Circuit10.3%0.1%
Game Theory10.3%0.1%
Number Theory10.3%0.1%
Radix Sort10.3%0.0%
String Matching10.3%0.1%

Practice a Apple interview

Take a realistic AI-led mock interview with questions Apple actually asks, with live voice and real feedback.

Start a mock interview

Your first interview is free · no credit card required