Intel Corporation interview question

FIFO explanation and verilog code for it