Pergunta de entrevista da empresa Geotab

How would you reverse a string?