YourAlly

Apple Senior EM coding interview questions

These are the 4 coding questions YourAlly has tagged for Apple at Senior EM. Senior EM (M2) is the level where you manage other managers.

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. Manager loops include less coding, but you still need to reason about code and review it well.

Practice a mock Apple Senior EM coding loopPractice Apple coding questions

Validate IPv4 CIDR ContainmentFree to read

Given cidr and ip, return whether ip is inside cidr. Input: cidr, ip Output: bool

3 more coding questions

  1. Longest Unique Substring Locked
  2. Minimal Edit Script Locked
  3. Run-Length Encode Locked

Sign up free to practice all 4

Related pages

More Apple Senior EM rounds

Apple coding at other levels

Other companies at this level

Company guide

Apple interview guide in Academy