Xsight Labs interview question

Implementation of FIFO and LIFO and basic logid design