Pregunta de entrevista de Tata Consultancy Services

They asked me to write code to reverse a string, explain OOP concepts, and discuss time complexity. I was also asked about SQL queries, basics of DBMS, and to explain one of my academic projects in detail.