Pergunta de entrevista da empresa Yahoo

The logic games were a bit odd.