Apple Interview Question

All pretty easy.