题目链接 : https://leetcode cn.com/problems/convert sorted list to binary search tree/ 题目描述: 给定一个单链表,其中的元素按升序排序,将其转换为高度平衡的二叉搜索树。 本题中,一个高度平衡二叉树是指一个二叉树每个节点 ...
分类:
其他好文 时间:
2019-06-28 20:57:34
阅读次数:
109
header信息填好就行,直接echo会在浏览器输出乱码 ...
分类:
Web程序 时间:
2019-06-28 17:58:48
阅读次数:
299
原题链接在这里:https://leetcode.com/problems/add-one-row-to-tree/ 题目: Given the root of a binary tree, then value v and depth d, you need to add a row of nod ...
分类:
其他好文 时间:
2019-06-28 09:12:41
阅读次数:
111
一、基本原理 MySQL复制过程分成三步: 1)、master将改变记录到二进制日志(binary log)。这些记录过程叫做二进制日志事件,binary log events; 2)、slave将master的binary log events拷贝到它的中继日志(relay log); 3)、sl ...
分类:
数据库 时间:
2019-06-27 16:32:53
阅读次数:
186
Mac解压软件 BetterZip 是一款功能强大的Mac压缩工具,不仅有着强大的数据密码保护功能,让我们的压缩数据更加安全,还支持着多种压缩格式,不管是主流的还是其他的,都可以试用BetterZip进行解压缩工作。 今天小编就要给大家具体介绍一下,BetterZip到底支持多少种压缩格式。 支持的 ...
分类:
其他好文 时间:
2019-06-27 14:48:22
阅读次数:
159
Given a binary tree, you need to find the length of Longest Consecutive Path in Binary Tree. Especially, this path can be either increasing or decreas ...
分类:
其他好文 时间:
2019-06-26 22:05:41
阅读次数:
150
You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does not need t ...
分类:
其他好文 时间:
2019-06-26 15:06:06
阅读次数:
127
原题链接在这里:https://leetcode.com/problems/binary-tree-pruning/ 题目: We are given the head node root of a binary tree, where additionally every node's value ...
分类:
其他好文 时间:
2019-06-26 13:55:45
阅读次数:
124
原题链接在这里:https://leetcode.com/problems/distribute-coins-in-binary-tree/ 题目: Given the root of a binary tree with N nodes, each node in the tree has nod ...
分类:
其他好文 时间:
2019-06-26 13:39:18
阅读次数:
78
一、环境准备(java,maven,nodejs,webpack)环境部分略过总之缺什么依赖就apt什么[root@13~]#tarzxvfjdk-8u91-linux-x64.tar.gz-C/opt/[root@13~]#tarxvfapache-maven-3.5.0-bin.tar.gz-C/opt/[root@13~]#wgethttp://cdn.npm.taobao.org/dist
分类:
Web程序 时间:
2019-06-25 14:56:52
阅读次数:
141