Apple Interview Question

it was about data structures