Write a function to reverse a String. I asked if I could use Java which the interviewer said was fine. After writing half the code he indicated that I actually should have written the algorithm for a character array. Ughh, I really screwed this one up but I feel like the question should have been administered better.