PayPal Interview Question

Knowledge questions, Simple programming questions + follow ups: reverse a word, reverse a string, reverse words in a string