Device Tree Overlays、 dtbo、设备树堆叠功能 ...
分类:
其他好文 时间:
2020-05-23 12:49:26
阅读次数:
159
[抄题]: Invert a binary tree. Example: Input: 4 / \ 2 7 / \ / \ 1 3 6 9 Output: 4 / \ 7 2 / \ / \ 9 6 3 1 [暴力解法]: 时间分析: 空间分析: [优化后]: 时间分析: 空间分析: [奇葩输出条件 ...
分类:
其他好文 时间:
2020-05-23 10:03:40
阅读次数:
49
[抄题]: Given a binary search tree and the lowest and highest boundaries as L and R, trim the tree so that all its elements lies in [L, R] (R >= L). You ...
分类:
其他好文 时间:
2020-05-23 09:45:44
阅读次数:
50
Given a string, sort it in decreasing order based on the frequency of characters. Example 1: Input: "tree" Output: "eert" Explanation: 'e' appears twi ...
分类:
其他好文 时间:
2020-05-23 00:36:39
阅读次数:
45
Log Structured Merge Tree,简称 LSM。 以 Mysql、postgresql 为代表的传统 RDBMS 都是基于 b tree 的 page orented 存储引擎。现代计算机的最大处理瓶颈在磁盘的读写上,数据存储无法绕开磁盘的读写,纯内存型数据库除外,但由于内存存储的 ...
分类:
数据库 时间:
2020-05-22 21:23:49
阅读次数:
99
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 面试题26. 树的子结构 题目 输入两棵二叉树A和B,判断B是 ...
分类:
其他好文 时间:
2020-05-22 19:41:00
阅读次数:
40
线上的tree报了错,connot read ptoperty 'type' of undefined 后面发现 这里有问题,没有判断条件不满足时返回为空,所以会自己返回undefined,导致报错 const loop = (data) => data.map(item => { if (item ...
分类:
其他好文 时间:
2020-05-22 17:40:00
阅读次数:
54
博客链接: 二叉树的层平均值 题目链接:https://leetcode-cn.com/problems/average-of-levels-in-binary-tree/ 给定一个非空二叉树, 返回一个由每层节点平均值组成的数组. 示例 1: 输入: 3 / \ 9 20 / \ 15 7输出: ...
分类:
其他好文 时间:
2020-05-22 17:15:04
阅读次数:
60
Given inorder and postorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, ...
分类:
其他好文 时间:
2020-05-22 13:12:40
阅读次数:
54
``` //row-key 和ref 要必须写 ...... method:{ //筛选 screenclick() { //点击筛选的时候 让筛选出来的数据展开 this.forArr(this.tableList, false); this.getList(); }, // 重置 Resetda... ...
分类:
其他好文 时间:
2020-05-22 12:57:33
阅读次数:
199