Pregunta de entrevista de Unifytech

coding questions on java. Related to strings to reverse it