Apple Interview Question

What I wrote above qualifies