Pergunta de entrevista da empresa Copperleaf

Coding puzzle about a clock problem