Apple Interview Questions

Try some questions now

We've helped several engineers get the job at Apple

Interview Cake helps engineers get jobs at the best tech companies, especially like Apple. We believe in being strategic with our approach to programming interviews. We want engineers to have the tools to solve any programming interview question, no matter how difficult, because they have a great strategy like ours.

Apple is one of the original tech icons. The team at Apple is diverse, with different specialties across different product groups. However, the common denominator is their standard for excellence. Apple products deliver a great user experience, and it reflects from their detail-oriented engineers in every team. Apple wants to hire engineers who are tactical, and their coding interview reflects their desire for excellence in their candidates.

Practice Questions for the Apple Interview

Apple's coding interviews are hard, but not impossible. Like anything else, it just takes practice. We'll walk you through it, step by step.

MillionGazillion™: A New Search Engine »

I wrote a web crawler that's running on my old desktop computer in my parents' basement (where I totally don't live anymore), and it keeps running out of memory... keep reading »

Implement a Queue With Two Stacks »

This one's a classic toy problem that will really help you understand the importance of the different properties of queues and stacks. There's a naive solution, but then there's a much more efficient... keep reading »

The Nth Fibonacci Number »

This one's a classic, but there's more than meets the eye. Our first thought might be a naive recursive solution, but it has a massive time cost... keep reading »

Does This Linked List Have A Cycle? »

Write a function contains_cycle() that takes the first node in a singly-linked list and returns a boolean indicating whether the list contains a cycle. Careful—a cycle can occur in the middle of a list, or it can simply... keep reading »

Girl Scout Cookie Conspiracy »

A friend and I are trying to win the prize for most Girl Scout Cookies sold. Write a function to merge our sorted arrays of orders into one sorted array of orders. Think about edge cases! What happens when we've finished merging one... keep reading »

Binary Search Tree Checker »

Write a function to check that a binary tree is a valid binary search tree. Careful: checking a node against its parent isn't sufficient to prove... keep reading »

Exploiting An Uneven Shuffle To Get Rich »

I figured out how to get rich: online poker. I suspect the online poker game I'm playing shuffles cards by doing a single "riffle." To prove this, let's write a function to tell us if a full deck of... keep reading »

Find The Rotation Point In An Array »

I have an array of words that are mostly alphabetical, except they start somewhere in the middle of the alphabet, reach the end, and then start from the beginning of the alphabet. In other words, this is an alphabetically ordered array that has been "rotated"... keep reading »

Product of Other Numbers »

You have an array of integers, and for each index you want to find the product of every integer except the integer at that index. Write a function that takes an array... keep reading »

Permutation Palindrome »

Write an efficient function that checks whether any permutation of an input string is a palindrome. We can do this in time and... keep reading »

What people are saying about Apple's interview

Here are some positive snippets from interview reviews from Glassdoor:

  • "definitely harder than my more standard interviews at other big companies (Facebook, microsoft). seemed more specific and hard to prepare for. interviewers knew their stuff and questions were specific to the role I interviewed for."
  • "A pleasant process, but long interview with 6 people. The interview staff were friendly, but the interview was by no means easy. The whole interview took about 6 hours, and was quite exhasuting"
  • "The onsite was a little tiring with ~6hrs of interviews but everyone was really nice and it didn't seem like any of them wanted to stump me."
And here are some negative snippets from interview reviews from Glassdoor:
  • "Mostly coding interview questions. Surprisingly, the people are very nice to me. The questions are standard -- you can find on topcoder, geeksforgeeks, and leetcode. However, I did not like the place at all, there is even a place to sit before the interview. But the recruiter is a very nice person and helped me very well throughout the process. Anyway, after seeing the working place, I have decided to not to try for Apple in near future."
  • "Some engineer called me. For a 1 hour coding round (Java position) started with some basic questions. Then kept asking about networking internals, file system internals, network packet details, protocol details. This is especially confusing since the position requirements don't list them. So it ended with no coding and in 30 mins."

. . .