算法整理

  工作中经常会遇到一些经典算法。脑子不好使,只好记于此。

 

1.字符串搜索:

   KMP算法:http://segmentfault.com/a/1190000000608926

   Boyer-Moore算法: http://blog.jobbole.com/52830/

 

2.统计计数:

   Hyper-LogLog:http://blog.codinglabs.org/articles/algorithms-for-cardinality-estimation-part-i.html

posted @ 2014-09-02 11:59  ζ老豆角  阅读(149)  评论(0编辑  收藏  举报