Redpine Signals interview question

Working of combinational and sequential circuits.