贴上大佬的博客地址:https://labuladong.gitee.io/algo/2/18/20/ 这一部分总得来说比较简单,注意边界值的判断就行了。下面是贴上实际的代码 """ 翻转二叉树 https://leetcode-cn.com/problems/invert-binary-tree/ ...
分类:
其他好文 时间:
2021-06-25 16:45:06
阅读次数:
0
mysql引擎 create table t_mysql ( id Int32, name String, ) engine = MySQL('127.0.0.1:3306', 'test', 't', 'root', '123456'); mysql进行ddl: alter table t mod ...
分类:
其他好文 时间:
2021-06-25 16:44:37
阅读次数:
0
The NuGet package sources are configured through Visual Studio, but they're stored in a per-user configuration file, found at c:\Users\$USER\AppData\R ...
分类:
其他好文 时间:
2021-06-24 18:32:12
阅读次数:
0
1.创建测试环境 1.1.新建用户和表 CREATE USER monkey01 IDENTIFIED BY monkey01; GRANT UNLIMITED TABLESPACE TO MONKEY01; GRANT CREATE SESSION TO MONKEY01; CREATE USER ...
分类:
其他好文 时间:
2021-06-24 18:31:39
阅读次数:
0
1 #查询可安装版本 2 [root@localhost ~]# yum list docker-ce --showduplicates | sort -r 3 Repository extras is listed more than once in the configuration 4 doc ...
分类:
其他好文 时间:
2021-06-24 18:31:06
阅读次数:
0
[nginx@p0-hfssp-healthos-web02 sbin]$ sudo ./nginx -s reloadnginx: [error] invalid PID number "" in "/home/nginx/openresty/nginx/logs/nginx.pid" 发生这个错 ...
分类:
其他好文 时间:
2021-06-24 18:14:17
阅读次数:
0
[root@es02-010007081131 dumpbackup]# more /home/script/backup/mysql_dumpbackup.sh #!/bin/bash . /etc/profile . ~/.bash_profile backup_date=`date "+%Y% ...
分类:
数据库 时间:
2021-06-24 18:11:54
阅读次数:
0
1、 对于linux系统的虚拟机迁移之后盘符不识别(vm的盘符为sdx,云平台为vdx),导致虚拟机进入救援模式 2、 输入root用户密码,进入救援模式 3、 查看虚拟机的磁盘的盘符,/etc/fstab文件挂载的盘符信息 4、 修改/etc/fstab/盘符挂载路径,建议使用UUID的形式挂载, ...
分类:
系统相关 时间:
2021-06-24 18:01:10
阅读次数:
0
dremio 多集群共享zk 配置有些问题,官方说明不是很明确,而且从运行测试会有一些问题,以下是一个整理 配置 配置 zookeeper: "<host1>:2181,<host2>:2181,<host3>:2181/path/to/dremio" 说明 注意zk root 需要写在后边,而且需 ...
分类:
其他好文 时间:
2021-06-24 17:56:09
阅读次数:
0
TreeMap的测试 向TreeMap中添加key-value,要求key必须是同一个类创建的对象 因为要按照key进行排序:自然排序、定制排序 自然排序(User类中实现了Comparable接口): @Test public void test1(){ TreeMap map = new Tre ...
分类:
其他好文 时间:
2021-06-24 17:51:25
阅读次数:
0