Pregunta de entrevista de Tata Consultancy Services

Reverse string program, database questions.