Google interview question

Basic Verilog coding on google doc.