Apple Senior Principal coding interview questions
These are the 7 coding questions YourAlly has tagged for Apple at Senior Principal. Senior Principal is the common India title for this level. YourAlly treats it as 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 Principal coding loopPractice Apple coding questions
Run-Length EncodeFree to read
Run-length encode a string of letters (counts >1 only). Input: aaabbc Output: a3b2c
6 more coding questions
- Recover Keyboard Locale Ordering Locked
- Thumbnail LFU Cache Locked
- Visible Outline of Stacked Widgets Locked
- Longest Unique Substring Locked
- Minimal Edit Script Locked
- Validate IPv4 CIDR Containment Locked
Related pages
More Apple Senior Principal rounds
- Behavioral 11 questions
- Project retrospective 3 questions
Apple coding at other levels
Other companies at this level
- Adobe Senior Principal 4 questions
- Amazon Senior Principal 6 questions
- Cisco Senior Principal 3 questions
- Google Senior Principal 14 questions
- IBM Senior Principal 3 questions
- Intel Senior Principal 3 questions