Pergunta de entrevista da empresa Kecilin

1. i actually forgot :D but it's just a array-like and string algorithm