Apple Interview Question

Leetcode similar data structures and algorithm questions!