Apple onsite

Result
No Offer
Posted
5 Oct 2022
372 reads

Summary

I recently completed an onsite interview at Apple, which included two specific LeetCode problems and discussions on computer science fundamentals. Although I ultimately received an offer from Google, my experience at Apple was valuable.

How it went

During my onsite interview at Apple, I was presented with two coding challenges: Course Schedule (LeetCode 207) and Pacific Atlantic Water Flow (LeetCode 417). Beyond the coding, a significant portion of the interview involved in-depth discussions on core computer science fundamentals and various debugging methodologies. While I ultimately accepted an offer from Google, I gained valuable insights into Apple's technical interviewing process through this experience.

Questions asked (2)

  1. 01

    Course Schedule

    Data Structures & Algorithms · Medium

    There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequisites where prerequisites[i] = [ai, bi] indicates that you must take course bi first if you want to take course ai. For example, the pair [0, 1] indicates that you have to take course 1 before course 0. Return true if you can finish all courses. Otherwise, return false.

    Open the problem
  2. 02

    Pacific Atlantic Water Flow

    Data Structures & Algorithms · Medium

    Given an m x n integer matrix heights representing the height of each unit cell in a continent, your task is to find a list of grid coordinates (row, col) where water can flow to both the Pacific and Atlantic oceans. Water can flow from a cell to an adjacent cell if the adjacent cell has a height less than or equal to the current cell's height. Both the Pacific and Atlantic oceans touch the border of the continent.

    Open the problem

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Apple recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!