HCLTech interview question

Write verilog code for any flipflop. variations were also asked.