Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest l ...
分类:
其他好文 时间:
2020-05-31 00:45:36
阅读次数:
52
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist ...
分类:
其他好文 时间:
2020-05-30 23:25:31
阅读次数:
106
1. No suitable driver found for mysql:jdbc://localhost:3306/test
2. Not allowed to connect to this MySQL server
3. The server time zone value '?... ...
分类:
数据库 时间:
2020-05-30 22:04:20
阅读次数:
107
find函数的使用简言之:输入为:寻找的对象和条件;输出为:满足条件的数的位置。当没有寻找到满足条件的值时,返回空矩阵;例如在某向量/矩阵中寻找为零的数,寻找不为零的数,寻找某一范围内的数,判断是否有满足条件的数以及有多少等等: Example 1. find函数若不明确写出寻找条件而是仅仅写出寻找 ...
分类:
其他好文 时间:
2020-05-30 19:58:41
阅读次数:
340
MySQL-MyCAT分布式架构 MyCAT基础架构准备 主机名 ip地址 sql01 10.0.1.110 sql02 10.0.1.120 #环境准备: 两台虚拟机 sql01 sql02 每台创建四个mysql实例:3307 3308 3309 3310 #创建相关目录初始化数据 [root@ ...
分类:
数据库 时间:
2020-05-30 18:24:44
阅读次数:
74
今天跟大家分享的是如何高效的定位iframe。我们来看一段最早的代码: # coding: utf-8from selenium import webdriverfrom time import sleep driver = webdriver.Firefox() driver.get("http: ...
分类:
其他好文 时间:
2020-05-30 15:51:47
阅读次数:
84
问题描述:解压elasticsearch后,双击elasticsearch.bat闪退,选择使用命令行的方式启动,发现提示错误 解决方法:配置环境变量JAVA_HOME在bin下找到elasticsearch-env.bat打开,找到JAVA_HOME定义的地方,将set JAVA=“F:\Prog ...
分类:
编程语言 时间:
2020-05-30 15:46:13
阅读次数:
179
运行时报错:You must configure either the server or JDBC driver (via the serverTimezone configuration property),说明是mysql没有把时区改成+8:00,改一下就好,具体方法百度。 运行时报错: In ...
分类:
编程语言 时间:
2020-05-30 13:09:49
阅读次数:
88
用docker 安装的elasticsearch默认堆内存最大设置的2G或者1G 可以通过如下方法修改 [root@nova-92 logs]# find /var/lib/docker/ -name jvm.options /var/lib/docker/overlay2/f394fa1197ac ...
分类:
其他好文 时间:
2020-05-30 12:56:19
阅读次数:
191
还是一样的,在中序中找出那个众数存一下次数 主函数看谁的value最大 可以用map,是哦! https://leetcode.com/problems/find-mode-in-binary-search-tree/discuss/98103/Java-AC-Solution ...
分类:
其他好文 时间:
2020-05-30 10:55:13
阅读次数:
53