APPLE · CODING QUESTIONS

Apple coding interview questions

The data structures and algorithms questions candidates report from Apple interviews, linked to AlgoRung problems with an editor, hidden tests, an animated walkthrough and solutions in four languages. Most asked topics: Arrays & Hashing, Linked List, Trees & BST, Design Data Structures.

From public candidate reports and Apple's careers pages, checked November 2026. Processes vary by team. AlgoRung is not affiliated with Apple.

All 7 reported Apple coding questions

Difficulty
Topic
7 questions
  1. LRU Cache Medium Design Data Structures also Amazon, Microsoft, Netflix +4
  2. Time Based Key-Value Store Medium Binary Search also Netflix
  3. Odd Even Linked List Medium Linked List also Adobe
  4. Valid Palindrome II Easy Arrays & Hashing also Meta
  5. Best Time to Buy and Sell Stock Easy Dynamic Programming also Amazon, Netflix, Walmart Global Tech
  6. Top K Frequent Elements Medium Heaps
  7. Valid Parentheses Easy Stack also Netflix
Also reported, not on AlgoRung yet (2)

Design HashMap · Basic Calculator II

How the coding round is scored · The online assessment

Questions people ask

What coding questions does Apple ask?

Candidates most often report LRU Cache, Time Based Key-Value Store, Odd Even Linked List, Valid Palindrome II, Best Time to Buy and Sell Stock. The full list of 7 reported questions is on this page, each linked to a practice problem with solutions.

Which topics should I study for the Apple coding interview?

arrays and strings, linked lists, trees, hash maps, concurrency, stacks. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.

How hard are Apple coding questions?

Of the reported questions on AlgoRung, 3 are easy, 4 medium and 0 hard. Expect mostly medium problems, with follow-ups that change a constraint.

Coding questions at other companies

Coding questions across all companies · Behavioral questions