Pergunta de entrevista da empresa Arctic Wolf

How would you reverse a string