Qualcomm interview question

Design of FIFO