Apple Interview Question

FIFO implementation Coding problem Asked about project i did