Description: A full binary tree is defined as a binary tree in which all nodes have either zero or two child nodes. Conversely, there is no node in a ...
分类:
其他好文 时间:
2019-09-24 15:50:07
阅读次数:
78
FZU Monthly 201909 tutorial | 题目(难度递增) | easy | easy medium | medium | medium hard | hard | | : : | : : | : : | : : | : : | : : | | 思维难度 | AB | CD | E ...
分类:
其他好文 时间:
2019-09-24 15:36:04
阅读次数:
77
二叉树的遍历,注意递归和非递归两种思路。 94. Binary Tree Inorder Traversal 二叉树中序遍历 https://leetcode.com/problems/binary-tree-inorder-traversal/ 题目:给定二叉树,返回节点值的中序遍历。 思路: 1 ...
分类:
其他好文 时间:
2019-09-24 10:25:12
阅读次数:
85
centos 7安装xtrabackup8.0.4 1.下载#8.0版本$ wget https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-8.0.4/binary/redhat/7/x86_64/percona-xtraba ...
分类:
其他好文 时间:
2019-09-23 18:33:41
阅读次数:
149
[TOC] 更新、更全的《数据结构与算法》的更新网站,更有python、go、人工智能教学等着你:https://www.cnblogs.com/nickchen121/p/11407287.html 一、什么是哈夫曼树(Huffman Tree) 如果我们将百分制的考试成绩转换成五分制的成绩,我们 ...
分类:
其他好文 时间:
2019-09-23 18:08:01
阅读次数:
97
JSON库很常用了,现在开源的JSON库也有很多。但是我们仍然面临下列问题 1)时不时的爆出这个Json库出现漏洞,那个json库出现漏洞。一旦出现漏洞只能升级,想切换JSON都不成。 2)一个项目中有多个JSON库(这个原因很多,但又不可避免),改Bug可能都得学习多种JSON库 鉴于如上问题,开 ...
分类:
Web程序 时间:
2019-09-23 14:58:25
阅读次数:
115
一、索引 索引是一种存储引擎能快速找到记录的数据结构。 索引如果包含多个列,列的顺序就十分重要,MySQL只能高效使用最左前缀列。创建包含两个列的索引和创建两个列的单独索引,效果也是不一样的。 索引是存储引擎层面实现的,不是服务器层面。 索引的类型 B Tree B+Tree B+Tree相对于B ...
分类:
数据库 时间:
2019-09-23 09:35:01
阅读次数:
110
leet code 1201. Ugly Number III. Write a program to find the n-th ugly number. Ugly numbers are positive integers which are divisible by a or b or c. ...
分类:
其他好文 时间:
2019-09-23 00:09:08
阅读次数:
179
### 泰坦尼克号海难生存人员预测 # 导入需要的库 import pandas as pd from sklearn.tree import DecisionTreeClassifier from sklearn.model_selection import train_test_split fr... ...
分类:
编程语言 时间:
2019-09-22 21:43:20
阅读次数:
123
题目链接:http://poj.org/problem?id=1741 Tree Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 35091 Accepted: 11718 Description Give a tree with ...
分类:
其他好文 时间:
2019-09-22 21:35:57
阅读次数:
72