算法讲解: https://www.cnblogs.com/ggzhangxiaochao/p/9070873.html 算法模板: https://blog.csdn.net/weixin_43693379/article/details/98039620 https://www.cnblogs.com/Nicoppa/p/11475428.html