Fork me on GitHub
摘要: 题目:Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word ... 阅读全文
posted @ 2015-08-28 15:36 __Neo 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 题目:Implement strStr().Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.提示:此题可以使用暴力搜索方法。当然也可以使用... 阅读全文
posted @ 2015-08-28 10:32 __Neo 阅读(193) 评论(0) 推荐(0) 编辑