Pergunta de entrevista da empresa Google

Extracting the nodes in a circular graph in clockwise direction