Apple interview question

it was about data structures