Question d’entretien chez Cisco

Design and write a code for a cyclic buffer used in routers.