Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function ...
分类:
其他好文 时间:
2019-10-20 10:38:02
阅读次数:
80
具体错误信息如下图: error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: early EOF ...
分类:
Web程序 时间:
2019-10-19 09:37:43
阅读次数:
137
Given an integer, write a function to determine if it is a power of three. Example 1: Example 2: Example 3: Example 4: Follow up:Could you do it witho ...
分类:
其他好文 时间:
2019-10-19 09:21:30
阅读次数:
73
docker save <repository>:<tag> -o <repository>.tar docker save mysql:latest -o mysql.tar docker load < mysql.tar docker-compose -f mysql-deploy.yml up ...
分类:
其他好文 时间:
2019-10-18 15:27:39
阅读次数:
101
一、实施步骤 1、备份网卡目录# cp -r /etc/sysconfig/network-scripts/ /etc/sysconfig/network-scripts.bak 2、查看需要聚合的端口是否为“UP”状态:ethtool eth0 |grep "Link detected: yes" ...
分类:
其他好文 时间:
2019-10-17 14:05:34
阅读次数:
142
Given a linked list, remove the n-th node from the end of list and return its head. Example: Note: Given n will always be valid. Follow up: Could you ...
分类:
其他好文 时间:
2019-10-16 23:20:06
阅读次数:
94
题目链接 题意: 给出n个点和m条边的无向图,存在重边,问加一条边以后,剩下的桥的数量最少为多少。 题解: 把这个无向图缩点后会得到一个只由桥来连接的图(可以说这个图中的所有边都是桥,相当于一棵树), 然后我们只需要找出来这棵树的最大直径(即相距最远的两个点)。 因为如果我们把直径所在的两个端点连起 ...
分类:
其他好文 时间:
2019-10-16 21:31:33
阅读次数:
68
Git master合并分支时提示“Already up to date” ? 在使用Git把当前分支合并到master提示“Already up to date”,但当前分支和 master 分支代码不同步。 ? 假设当前分支是:dev,主分支是:master。 解决方法: ? 如果不考虑配置文件 ...
分类:
其他好文 时间:
2019-10-16 18:18:11
阅读次数:
365
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. N ...
分类:
其他好文 时间:
2019-10-16 11:19:18
阅读次数:
79
QSDK与OPENWRT区别 来源 https://www.jianshu.com/p/178ae18b2570 QSDK是一种在openwrt的基础上,加入了高通atheros芯片相关资料的一种环境。 QSDK与openwrt的区别主要在如下几个方面: arch/mips/ath79/* – up ...
分类:
其他好文 时间:
2019-10-15 13:40:01
阅读次数:
227