Melange Systems Interview Question

reverse the string for the given string