Task
TASK2021.10.27
大物作业
概率论作业
数据结构字典树文档
离散数学习题集第一章
2021.11.06
Multisim期中作业
数据结构第五题
大雾MOOC(光学)
大雾气体动理论作业 PPT
概率论作业
2021.11.07
数据结构课程设计完成时间
Q1
Q2
Q3
Q4
Q5
XXX
Q3加入其他算法
Q10优化
Done
Done
2021.11.14
Done
Done
2021.12.01
2021.11.20
Q6
Q7
Q8
Q9
Q10
Q4多线程
FINAL
2021.11.14
2021.11.14
2021.12.1
2021.11.20
Done
2021.12.01
2021.12.11
大雾Mooc光学
周三之前完成大雾气体动理论作业,看PPT
看玉石课的网课视频
再看一遍计组实验的电路
2021.11.16
看书完成概率论的作业
看玉石的网课
看大雾的书
写数据结构的项目文档(随便完成一篇)
2021.11.28
完成计组实验报告
英语作业
2021.12.07
完成数据结构文档
...
Maven
Maven使用
设置编码为UTF-8123<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding><project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding><maven.compiler.encoding>UTF-8</maven.compiler.encoding>
添加本地仓库在后加上1<localRepository>G:\Maven\repo</localRepository>
设置镜像源
123456<mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliy ...
Java
Java泛型Java异常Java反射Java并发使用线程不要显式创建线程,使用线程池
实现Runnable接口
实现接口中的run方法用Runnable实例创建一个Thread实例,调用start方法
实现Callable接口
可以有返回值使用FutureTask进行封装
测试(注意ft.get()可能抛出的异常)12345678public static void main(String[] args) throws ExecutionException, InterruptedException { /**使用FutureTask进行封装 */ MyCallable mc = new MyCallable(); FutureTask<Integer>ft = new FutureTask<>(mc); Thread thread = new Thread(ft); thread.start(); System.out.println(ft.get());}
继承Thread类(不推荐 ...
LeetCode题目整理
LeetCode整理2021年11月15日
快速幂(LeetCode 50 Pow(x,n))
动态规划(LeetCode 1510 石子游戏4)
Z字形查找(LeetCode 240 搜索二维矩阵2)
2021年11月16日
确定有限状态自动机(LeetCode 8 字符串转换整数)
二分查找(LeetCode 704,278,35)
双指针(LeetCod 283 移动零)
双指针(LeetCode 167 两数之和2)
哈希表(LeetCode 1 两数之和)
最大堆、最小堆(LeetCode 414 第K大的数)
线性扫描(LeetCode 328 三个数的最大乘积)
2021年11月17日
哈希表 (LeetCode 645 错误的集合)
getOrDefault(key,default)作用:如果存在相应的key则返回其对应的value,否则返回给定的默认值用例: hash.put(c,hash.getOrDefault(c,0)+1); //若没有就是0,若有就是原有值加1
哈希表(LeetCode 41 缺失的第一个正数)
负号占位,正号归位(打标记)
...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment