本题是一道优秀的面试题,题目难度不大,仅仅需要小学的知识即可解出核心难题,但是却需要细致的思考才能写出逻辑清晰、没有错误的代码。 题目描述原题
即便是简单的算法,如果不能窥见本质,那么在加上一定额外变型之后都会变得非常困难。本题如果不能理解二分法的抽象本质,就难以处理题目的输入数据,
本体是一道考察双指针的经典例题,非常值得深入研究和经常复习。 题目描述原题链接如下: LeetCode 76 最小覆盖子串 题目大意要在字符串 S 中找到包含 T 的所有字符
Linux kernel 4.9+ 已支持 TCP BBR 算法,下面简单讲述基于 KVM 架构 VPS 如何开启它。 准备工作 查看看是不是内核 >= 4.9: 1 uname -r 注意:如果内核版本不够高,则需要下载编译新
SSH 登录的方法虽然已经使得访问 VPS 较为安全,但仍然有不少办法可以进一步提高 SSH 本身的安全性,本文对此进行简单的记述。 一、修改 SSH 登录端口 进入 SSH 服务配