Domanda di colloquio di Google

Extracting the nodes in a circular graph in clockwise direction