Mistral Solutions interview question

what is the difference between latch and flipflop?