摘要:
问题 今天刚安装的MySQL数据库,远程无法连接,报错如下 null, message from server: "Host 'xxx.192.223.177' is not allowed to connect to this MySQL server" 解决 mysql -uroot -p 输入 阅读全文
摘要:
问题 远程创建仓库后,第一次push到远程,本地提示 Updates were rejected because the remote contains work that you do 解决 使git允许合并不相关的历史,使用命令 git pull origin master --allow-un 阅读全文
摘要:
解释 Sliding window algorithm is used to perform required operation on specific window size of given large buffer or array. 滑动窗口算法是在给定特定窗口大小的数组或字符串上执行要求 阅读全文
摘要:
public class Test { public static void main(String[] args) { int[] array = {1,2,3,4,5,6,7}; int value = 8; System.out.println(binarySearch(array, valu 阅读全文
摘要:
Thread的join方法 join() :Waits for this thread to die.等待此线程结束 join(long millis): Waits at most milliseconds for this thread to die. A timeout of 0 means 阅读全文
摘要:
线程 线程是操作系统能够运算调度的最小单位,它被包含在进程中,是进程中的实际运做单位。 https://baike.baidu.com/item/%E7%BA%BF%E7%A8%8B/103101?fr=aladdin Java创建线程的方式 public class DemoThread exte 阅读全文