会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
copperface
Xingsheng's home to share ideas Stay foolish & stay hungry
博客园
首页
新随笔
联系
订阅
管理
2017年1月17日
28. Implement strStr()
摘要: Implement strStr().Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.分析这就是字符串匹配算法算法一:brute forcetime complexity: O(nm)space complexity: O(1)12345...
阅读全文
posted @ 2017-01-17 22:27 copperface
阅读(152)
评论(0)
推荐(0)
编辑
公告