Apple Interview Question

I had a home taken test.