Pergunta de entrevista da empresa Copperpod Digital

Java coding question on reverse a string.