Intel Corporation Interview Question

one-hot assignment in verilog