Cognizant Interview Question

Explain the algorithm to reverse the characters in a string: technical question