Nokia interview question

1. Reverse the words in the given string. 2. Reverse the single link list.