Pergunta de entrevista da empresa Tanium

A recursive problem like you would see on hackerrank.