Pergunta de entrevista da empresa Accenture

Given an encoded string, return its decoded string.