Apple interview question

data structures related . like using an array to make a queue,