Pergunta de entrevista da empresa HERE Technologies

Question was to like reverse a String