Apple Interview Question

nothing so difficult