Pergunta de entrevista da empresa Google

a runlength decoder, call a function iterate and write this function.