![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
algorithm
yuanyincode
这个作者很懒,什么都没留下…
展开
-
leetcode traning_string(2)
Reverse Words in a StringGiven an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".def reverse(s): if s is None:原创 2017-07-13 18:37:10 · 226 阅读 · 0 评论 -
整型数组(一)
Remove ElementGiven an array and a value, remove all occurrencesof that value in placeand return thenew length.The order of elements can be changed, and the elements after thenew length do原创 2017-07-14 21:05:37 · 2034 阅读 · 0 评论 -
leetcode training_string(1)
STR1. problem description:For a given source string and a target string, you should output thefirst index(from 0) of target string in source string. If target does not exist in source, just return原创 2017-07-13 08:33:37 · 240 阅读 · 0 评论