Qualcomm interview question

Design with Latches