最新 最热

LeetCode 0337 - House Robber III

The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the “root.” Besides the root, each house has one...

2021-08-11
1

ACMSGURU 118 - Digital Root

Let f(n) be a sum of digits for positive integer n. If f(n) is one-digit number then it is a digital root for n and otherwise digital root of n is equal to digi...

2021-08-11
1

LeetCode 0112 - Path Sum

Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.

2021-08-11
1

LeetCode 0113 - Path Sum II

Given a binary tree and a sum, find all root-to-leaf paths where each path’s sum equals the given sum.

2021-08-11
2

LeetCode 0069 - Sqrt(x)

x is guaranteed to be a non-negative integer.

2021-08-11
1

服务器被入侵当做挖矿肉鸡

早上到公司发现zabbix有一个报警:一台服务器的CPU使用率达到100%! 1.立即登录该服务器查看CPU top10

2021-08-10
1

记一次Oracle RAC一节点重启后出现故障的处理

由于是远程跟我沟通,我回复rac环境下可以重启一个节点,客户就自信重启了,出现的故障如下所示:

2021-08-10
1

MySQL root用户不能为普通用户赋权限

MySQL root用户不能为普通用户赋权限, 报错:Error Code: 1044. Access denied for user ‘root’@’%’ to database mysql> select host,user,password,Grant_priv,Super_priv FROM mysql.......

2021-08-10
1

在VMWare软件里面创建一个虚拟机,一步一步带你创建

以上两个的区别是,第一个是在创建虚拟机的时候,就安装操作系统,第二个是安装完虚拟机之后再安装操作系统,我们使用第一种方式

2021-08-05
1

Linux-普通用户切换为root身份

Linux 下普通用户免密码切换 root 用户添加用户useradd [-g group] [-d user_home_directory] [-p “your password”] Username-g 表示设置新增用户所属用户组-d 表示设置新增用户的主目录-p 表示设置新增用户的登录...

2021-07-28
0