Wipro Interview Question

string reversal.