Synopsys interview question

puzzles, counters, sequence detectors, counters