YourAlly

Apple Senior staff coding interview questions

These are the 7 coding questions YourAlly has tagged for Apple at Senior staff. On the YourAlly ladder this is Senior staff, the same level as Google L7, Meta E7 and Amazon L8.

A coding round at a large tech company usually runs 45 to 60 minutes with one or two problems. You write code that runs, test it on your own examples and state its time and space cost. At this level coding is often a smaller part of the loop, but the bar for clarity and speed stays high.

Practice a mock Apple Senior staff coding loopPractice Apple coding questions

Minimal Edit ScriptFree to read

Given two strings, return the minimum number of single-character inserts/deletes/replaces to transform a into b (Levenshtein distance).

Input: a, b Output: distance

6 more coding questions

  1. Recover Keyboard Locale Ordering Locked
  2. Thumbnail LFU Cache Locked
  3. Visible Outline of Stacked Widgets Locked
  4. Longest Unique Substring Locked
  5. Run-Length Encode Locked
  6. Validate IPv4 CIDR Containment Locked

Sign up free to practice all 7

Related pages

More Apple Senior staff rounds

Apple coding at other levels

Other companies at this level

Company guide

Apple interview guide in Academy