HCLTech Interview Question

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