Cognizant Interview Question

string reversal program