1.防火墙开放端口 firewall-cmd --zone=public --add-port=8848/tcp --permanent firewall-cmd --list-ports 开放centOS 网关,远程连接 grant all privileges on *.* to 'root'@ ...
遇到两个报错: 第一个权限问题报错,好解决 startForeground requires android.permission.FOREGROUND_SERVICE Manifest给下权限就行 <manifest ...> ... <uses-permission android:name=" ...
分类:
移动开发 时间:
2021-02-18 13:21:34
阅读次数:
0
1. 题目描述 Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order. 2. Examples 示例1: Input ...
分类:
编程语言 时间:
2021-02-18 13:07:50
阅读次数:
0
常用环境配置 要清理磁盘空间可以看这个文章:https://www.linuxprobe.com/disk-release.html 最简单的安装,结束以后先换源 apt install build-essential gcc make perl dkms # 之后安装vbox增强功能 # 基本工具 ...
分类:
系统相关 时间:
2021-02-17 15:13:48
阅读次数:
0
Percolation API public class Percolation { public Percolation(int n) // create n-by-n grid, with all sites blocked public void open(int row, int col) ...
分类:
其他好文 时间:
2021-02-17 15:10:37
阅读次数:
0
浅拷贝就是生成一个新的 内存空间,把已有的赋值到新的里面去,例如: let a = {} let b = {A:'xin'} 然后循环的把b里面的内容一个在a中产生 深拷贝:let b = {A:'xin',b:[60, 70]} 由于浅拷贝只是把key的值赋值过去,但是如果b是数组或者还是一个对象 ...
分类:
其他好文 时间:
2021-02-17 14:51:05
阅读次数:
0
D Multiples and Power Differences (构造) 给一个n*m的矩阵a,a[i][j]在1到16之间。现在要构造矩阵b,需要满足如下条件: 1.b[i][j]在1到1e6之间 2.b[i][j]是a[i][j]的倍数 3.对于矩阵中任意相邻的两个数,要求存在正整数k,他们 ...
分类:
其他好文 时间:
2021-02-16 12:35:29
阅读次数:
0
Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and ino ...
分类:
其他好文 时间:
2021-02-16 12:28:45
阅读次数:
0
Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals ...
分类:
其他好文 时间:
2021-02-16 12:04:54
阅读次数:
0
technology road one step 2021-02-12 1. 工程能力 1. DDD 《DDD》 chapter4 分离领域 ; chapter5 软件中表示的模型 《IDDD》Entity 《分析模式》 确定范围 《对象设计,角色,责任和协作》 2. 软件架构 1. <Java 应 ...
分类:
其他好文 时间:
2021-02-16 11:50:55
阅读次数:
0