Qualcomm Interview Question

Describe a ring counter and it's working