GOOD interview question

solve a program to reverse a string