Apple Interview Question

Difficult to understand & analyse