摘要: 第二章 排序(一) 2.1 初级排序算法 2.1.1 游戏规则 排序的目标:将所有元素的主键按照某种方式排列。 排序类算法的模板: public class Example{ public static void sort(Comparable[] a){}//对实现comparable接口对象组成 阅读全文
posted @ 2021-01-23 22:33 一天到晚睡觉的鱼 阅读(110) 评论(0) 推荐(0)
摘要: MySQL使用(一) 基本命令行操作 启动数据库:net start mysql 连接数据库:mysql -uroot -p 所有的语句都使用分号结尾 查看所有数据库:show databases 切换数据库:use 数据库名; 查看所有表:show tables; 显式表中的信息:describe 阅读全文
posted @ 2021-01-23 22:31 一天到晚睡觉的鱼 阅读(59) 评论(0) 推荐(0)
摘要: 10. 正则表达式匹配 题目链接 动态规划 class Solution { public boolean isMatch(String s, String p) { int n = s.length(); int m = p.length(); boolean[][] dp = new boole 阅读全文
posted @ 2021-01-23 12:41 一天到晚睡觉的鱼 阅读(83) 评论(0) 推荐(0)