e-con Systems Interview Question

they asked probability,flip flop related questions