Pergunta de entrevista da empresa J.B. Hunt Transport

How would you reverse a string in Java?