Intel Corporation interview question

one-hot assignment in verilog