Allegis Group interview question

Sequential circuits