Apple Interview Questions
8 questions · Updated Oct 2026
Apple designs and builds consumer hardware, software, and services, including the iPhone, Mac, and iOS. Its interviews emphasize craftsmanship, attention to detail, strong fundamentals, and cross-functional collaboration between hardware, software, and design.
Questions are pooled and anonymized from real interviews; the prep notes are our own - never anyone's actual answers.
- 1
Solve 'Find Median from Data Stream': design a data structure that supports adding integers from a stream and returning the running median in O(log n) per insertion. Walk through how you'd keep it balanced as numbers arrive.
TechnicalThe key idea is two heaps: a max-heap for the lower half and a min-heap for the upper half, kept balanced in size. Explain the rebalancing invariant and how the median is read from the heap tops (or their average). Apple interviewers care about precise reasoning and clean edge-case handling, so state your invariant out loud before coding.
Software Engineer
- 2
Implement the classic 'LRU Cache' with O(1) get and put. How does your design change if it must be thread-safe for concurrent access on a device with limited memory?
TechnicalCombine a hash map for O(1) lookup with a doubly linked list for O(1) recency updates. For thread-safety, discuss a lock around mutations versus finer-grained locking or a concurrent map, and the memory trade-offs. Apple weights clean pointer manipulation and realistic constraints heavily.
Software Engineer
- 3
Design the on-device framework that powers autocomplete/predictive text on the keyboard while keeping user data private. How do you balance latency, memory, and personalization?
TechnicalLead with the on-device, privacy-first constraint: no raw keystrokes leave the phone, so personalization happens locally (and aggregated via differential privacy if at all). Discuss a compact trie/n-gram model, cache warming, and strict memory budgets. Apple rewards candidates who treat privacy and resource limits as first-class design requirements, not afterthoughts.
Software Engineer
5 more Apple questions
Create a free account to see every question and how to approach it - plus live answers during your real interview.
Sign up free to see allShow up to your Apple interview ready
InterviewEar listens on a second device and quietly suggests what to say, the moment a question lands - drawing on your resume and the role. Open it beside your call and stay present.
Start free