Texas Instruments interview question

about counters, FSM, CMOS invertors