Qbit Labs (India) interview question

basic data structure question in verilog