Pergunta de entrevista da empresa National Instruments

They asked me on recursive method.