Pregunta de entrevista de Bloomberg

Asked to code Collatz Conjecture