Pregunta de entrevista de Copperleaf

Coding puzzle about a clock problem