- 博客(2)
- 收藏
- 关注
原创 Reverse Words in a String
Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". ------------------------------------ 再次写这代码写的各种乱 需要考虑到字符串的空格~!
2015-09-03 22:27:33 554
原创 Next Permutation
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possible, it must rearrange it as the lowest possible
2015-09-03 19:39:58 320
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人