Apple AI Interview Questions — Acing the AI Interview

Apple has hired Google’s chief of search and artificial intelligence, John Giannandrea, a major coup in its bid to catch up to the artificial intelligence technology of its rivals.

Source: Cultofmac

Apple’s dominance in the consumer technology devices space is in a league of its own. Hiring John Giannandrea is a step in the right direction for AI at Apple.


My previous AI Interview Questions articles for Microsoft, Google, Amazon, Facebook and Uber have been very helpful to the readers. As a followup, next couple of articles were on how to prepare for these interviews split into two parts, Part 1and Part 2. Do visit them and provide feedback.


Apple as an organization is hierarchically aligned as a functional organization. The organization is aligned around verticals or expertise. There are no dedicated alignments like iPhone, iPad or Watch. AI is included in software that sits on top of Apple Hardware. Which means, AI is a services play for Apple. According to their earnings call in Q1 of 2018, their services revenue was up 18% over last year. The number of paid subscriptions across all their services offerings passed 240 million by the end of the December quarter. Hiring of John, who will directly report to Tim Cook, signifies how important AI is for Apple, predominantly for Siri and Apple Services.

Interview Process

Apple has a typical interview process like most other companies who hire Engineers. It has the same phone screen followed by Onsite Interviews. Onsite there are about 4–5 interviews with team members. The process is also explained in this Quora answer.

Important Reading Specific to Apple
Courtesy: Apple
  1. How Apple personalized Siri invocation: Personalized Hey Siri
  2. ML Journal(Blog by Apple Engineers for ML): Machine Learning Journal
  3. Github Libraries(For Development of Custom ML Models): Turi Create
AI/Data Science Related Questions
  • How do you take millions of users with 100’s of transactions each, amongst 10k’s of products and group the users together in meaningful segments?
  • We do pre-screening on the data to remove fraud threats — so how do we find a data sample that we can use to determine a real representation of fraud events?
  • Given a table with 1B of user ID and product IDs that the users bought, and another table with product ID mapped with product name. We are trying to find the paired products that are often purchased together by the same user, such as wine and bottle opener, chips and beer. How to find the top 100 of these co-existed pairs of products?
  • Describe for me in detail the difference between L1 and L2 regularization, specifically as regards the difference in their impact on the model training process itself.
  • Suppose you have 100,000 files spread across multiple servers and you wanted to process all of them? How would you do that in Hadoop?
  • What is the difference between Python and Scala?
  • Explain LRU Cache.
  • How would you design a client — server model where the client sends location data every minute?
  • How would you transfer data from one Hadoop cluster to another?
  • What are different types of memories in Java?
  • How can you handle the daily tedious tasks that go hand in hand with processing metadata for hundreds of titles?
  • In terms of data flow and accessibility, how do you measure success in a hidden time frame where the nucleus overloads the border structure of the over complicated file system that redirects computer energy to the cellar dome?
  • If you could have one superpower, what would it be?
  • You have time series of sensors, predict the next reading.
  • Create market basket output using SQL.
  • What is your experience with psychophysical experiments?(Research Portfolio based question)
  • What is your expertise in characterization? What do you usually use that for? How did you use that in your research and find interesting results?(Research Portfolio based question)
  • How do you deal with failure analysis?
  • Check if a binary tree is a mirror image on left and right sub-trees.
  • What is random forest? Why is Naive Bayes better?

If you find these questions useful, please share your thoughts in the comments below. Please clap on the article to signal me how much you like this article and if you would like me to write more of such articles.


Reflecting on the Questions

Apple AI/DS Interviews have a lot of Hadoop related questions. Seems their data mining backend is built on Hadoop. Many questions are also based on historical research work and portfolio. This is different from the other companies we have looked at previously. Critical thinking and scenario based questions are abundant.



The sole motivation of this blog article is to learn about Apple and its AI technologies helping people to get into it. All data is sourced from public sources. I aim to make this a living document, so any updates and suggested changes can always be included. Please provide relevant feedback.