网络上找到的关于算法的资源: http://blog.csdn.net/v_JULY_v/article/list/2 转载于:https://www.cnblogs.com/zhidao-chen/archive/2012/07/16/2593067.html