1.概念 2.安装与启动 安装略(二进制文件解压即可使用) 配置文件说明 linux与windows下的启动 zkCli.cmd –server ip:port连接到指定的服务器地址 //windows zkCli.sh –server ip:port连接到指定的服务器地址 //windows 基本 ...
分类:
其他好文 时间:
2018-10-30 17:28:35
阅读次数:
187
Given a n-ary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest le ...
分类:
其他好文 时间:
2018-10-29 22:11:05
阅读次数:
200
【问题描述】 1.从myslq(5.7.19-0ubuntu0.16.04.1)中导出sql脚本,导入到mysql(5.5.27)中,报如下错误:Row size too large. The maximum row size for the used table type, not countin ...
分类:
数据库 时间:
2018-10-29 19:58:25
阅读次数:
347
这是悦乐书的第 154 次更新,第 156 篇原创 01 看题和准备 今天介绍的是LeetCode算法题中Easy级别的第13题(顺位题号是53)。给定一个整数数组nums,找出一个最大和,此和是由数组中索引连续的元素组成,至少包含一个元素。例如: 输入:[ 2, 1, 3, 4, 1, 2, 1, ...
分类:
编程语言 时间:
2018-10-28 11:11:37
阅读次数:
170
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> 控制 ...
分类:
其他好文 时间:
2018-10-27 11:59:46
阅读次数:
143
Given an integer array with no duplicates. A maximum tree building on this array is defined as follow: Construct the maximum tree by the given array a ...
分类:
其他好文 时间:
2018-10-26 10:45:37
阅读次数:
243
昨天高铁上拿T480切win10系统看电影,为了节电给细调了个省电策略(设置CPU性能30%),不知是不是因为这个原因,今天切回Ubuntu1604工作导致CPU工作频率非常低。 查阅了一下相关方法,cpufreq工具还是很好用的! 安装:sudo apt get install cpufreq 显 ...
分类:
系统相关 时间:
2018-10-26 10:42:33
阅读次数:
409
【题目】 Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farth ...
分类:
其他好文 时间:
2018-10-26 10:36:02
阅读次数:
140
Problem Description Network flow is a well-known difficult problem for ACMers. Given a graph, your task is to find out the maximum flow for the weight ...
分类:
其他好文 时间:
2018-10-24 22:25:53
阅读次数:
240
We define a harmonious array is an array where the difference between its maximum value and its minimum value is exactly 1. Now, given an integer arra ...
分类:
其他好文 时间:
2018-10-23 10:58:59
阅读次数:
157