Pregunta de entrevista de HCLTech

They asked to write a code to reverse a string