Frage im Vorstellungsgespräch bei Tata Consultancy Services

Java and SQL basics and write a program to different ways of reversing a string.