Wipro interview question

build latch using 2:1 mux