Question d’entretien chez Wipro

They asked me to write a program to reverse a string, split a string in 2 part and print in reverse.