Pregunta de entrevista de Tanium

A recursive problem like you would see on hackerrank.