SmartSoC Solutions Interview Question

Design a mod 5 counter