Pergunta de entrevista da empresa Meta

Combinatorial questions involving strings and recursions.