NVIDIA Interview Question

i had to design FIFO (