Data structures · Queues and deques

Hot potato

A queue can stand in for people in a circle: moving the front person to the back is one pass around it.