浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年4月8日

摘要: 打破思维断层之KMP分析 - wsc - ITeye技术网站打破思维断层之KMP分析 博客分类:算法分析kmp算法思维断层KMP目的:本博客以KMP算法为载体,试图在减少思维断层情况下学习作者算法思想。目录: 1)开脑之字符匹配思路 2)浅析回溯目的 3)一定要回溯吗 4)什么时候回溯?什么时候不回溯? 5)深入回溯目的 6)如何更为高效地回溯? 7)回溯到哪一步? 8)前缀和后缀应... 阅读全文
posted @ 2013-04-08 22:23 lexus 阅读(309) 评论(0) 推荐(0)

摘要: #include <iostream>#include <vector>using std::vector;struct MyStruct{ int key; std::string stringValue; MyStruct(int k, const std::string& s) : key(k), stringValue(s) {}};struct less_than_key{ inline... 阅读全文
posted @ 2013-04-08 20:33 lexus 阅读(476) 评论(0) 推荐(0)