Apple Interview Question

FIFO Depth and FSM logic