摘要: 1、MySQL命令行使用 ①登录 MySQL8.x是默认安装到/usr/local/myslq/bin目录下,安装过程中已设置密码,执行如下命令登录MySQL ./mysql -u root -pmysql> ②显示数据库 mysql>show databases;+ +| Database |+ 阅读全文
posted @ 2022-05-22 17:25 mengchao 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 滑动窗口模板 /* 滑动窗口算法框架 */void slidingWindow(string s, string t) { unordered_map<char, int> need, window; for (char c : t) need[c]++; int left = 0, right = 阅读全文
posted @ 2022-05-22 15:31 mengchao 阅读(29) 评论(0) 推荐(0) 编辑