Reverse Word in a String(improve)

来源:互联网 发布:搜索引擎优化 名词解释 编辑:程序博客网 时间:2024/06/05 03:18

Given an input string, reverse the string word by word.

For example,
Given s = "the sky is blue",
return "blue is sky the".

Saw this code today, so depressed about my code. 

I guess I will need to start looking the basic functions....

0 0
原创粉丝点击