Emerson Interview Question

Explain the working of flip flop