Domanda di colloquio di Optiver

they asked a question that had circular array and