Reverse words in a string leetcode

visit shbcf.ru