Analog Devices interview question

Difference between latch and flip-flop