Pergunta de entrevista da empresa Amazon

Puzzles about calculating time from boring ropes