赵一振的blog,很多算法:

http://andyzh1314.yculblog.com/archive.89922.html