GE interview question

latch and Flip Flop