随笔分类 -  算法题

摘要:1 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". 阅读全文
posted @ 2018-01-20 21:21 LeoSirius 阅读(231) 评论(0) 推荐(0)
摘要:1 strStrProblem StatementFor a given source string and a target string, you should output the firstindex(from 0) of target string in source string.If 阅读全文
posted @ 2018-01-13 01:05 LeoSirius 阅读(462) 评论(0) 推荐(0)