此博客链接:https://www.cnblogs.com/ping2yingshi/p/12945132.html N叉树的后续遍历(76min) 题目链接:https://leetcode-cn.com/problems/n-ary-tree-postorder-traversal/ 给定一个 ...
分类:
其他好文 时间:
2020-05-24 00:20:22
阅读次数:
56
题意: 有一个集合 $S$,初始为空。进行 $m$ 次操作哟,分下列两种: 修改:向集合内添加一个 $[1, n]$ 内的正整数 $h$。 定义 $f(d)$ 为 $[1, d], [d + 1, 2d], [2d + 1, 3d], \ldots$ 这样取,第一次没有在集合内找到对应区间内元素的回 ...
分类:
其他好文 时间:
2020-05-23 19:56:50
阅读次数:
78
目录结构: github 项目地址:https://github.com/liangzai90/MyExecProject2020/tree/master/makefile_project/ASimpleMakefileProject #可执行文件的名称 NAME=Demo1 #需要包含的头文件目录 ...
分类:
其他好文 时间:
2020-05-23 16:37:06
阅读次数:
58
合并分支或者git pull命令的时候遇到: Updating 7c9e086..936acacerror: The following untracked working tree files would be overwritten by merge:Common/HFHttpRequest/H ...
分类:
其他好文 时间:
2020-05-23 14:55:03
阅读次数:
150
Python 中的数据结构是通过某种方式组织在一起的数据元素的集合,这些数据元素可以是数字、字符、甚至可以是其他数据结构 在 Python 中,最基本的数据结构是序列(列表和元组),序列中的每个元素都有一个序号(元素的具体位置),这个序号叫索引,索引下标从 0 开始,以此类推...... Pytho ...
分类:
编程语言 时间:
2020-05-23 12:58:00
阅读次数:
83
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