Optiver Interview Question

General verilog code questions with sample code.