Frage im Vorstellungsgespräch bei Tata Consultancy Services

Reverse string program, database questions.