touch mkdir rm mv cp cd pwd ls tree find ...
分类:
系统相关 时间:
2020-06-04 15:44:14
阅读次数:
67
给你$n$个数,对于$i∈[1,m]$,求出有多少棵不同的二叉树,满足权值都取自这$n$个数中,且权值和恰为$i$。 ...
分类:
其他好文 时间:
2020-06-04 13:50:41
阅读次数:
53
题目如下: Given a binary tree root, a node X in the tree is named good if in the path from root to X there are no nodes with a value greater than X. Retur ...
分类:
其他好文 时间:
2020-06-04 10:33:57
阅读次数:
77
Given a binary array, find the maximum length of a contiguous subarray with equal number of 0 and 1. Example 1: Input: [0,1] Output: 2 Explanation: [0 ...
分类:
其他好文 时间:
2020-06-04 01:36:55
阅读次数:
59
from xml.etree.ElementTree import ElementTreeimport cv2import osdef read_xml(in_path): tree = ElementTree() tree.parse(in_path) return treedef write_x ...
分类:
移动开发 时间:
2020-06-04 01:36:12
阅读次数:
68
比较简单的是单列索引(b+tree)。遇到多条件查询时,不可避免会使用到多列索引。联合索引又叫复合索引。 b+tree结构如下:每一个磁盘块在mysql中是一个页,页大小是固定的,mysql innodb的默认的页大小是16k,每个索引会分配在页上的数量是由字段的大小决定。当字段值的长度越长,每一页 ...
分类:
数据库 时间:
2020-06-03 21:55:41
阅读次数:
92
决策树 https://www.cnblogs.com/molieren/articles/10664954.html http://scikit-learn.org/stable/modules/tree.html ...
分类:
其他好文 时间:
2020-06-02 23:04:22
阅读次数:
97
浏览器计算样式 》构建渲染树(render tree) >Layout – 定位坐标和大小,是否换行,各种position, overflow, z-index属性 > 正式开画 https://www.zhihu.com/question/20117417 ...
分类:
其他好文 时间:
2020-06-02 20:32:22
阅读次数:
79
npm install --save node-sass --registry=https://registry.npm.taobao.org --disturl=https://npm.taobao.org/dist --sass-binary-site=http://npm.taobao.org ...
补上一发被吞了的博客 ˋ(′~‘)ˊ 题目链接 https://codeforces.com/contest/1363/problem/E 题目大意 给你一颗包含 N 个节点以节点 1 为根的树 , 每个节点有它的成本 a , 初始状态 b 和最终状态 c (只有0、1两种状态) 现在你可以从任意节 ...
分类:
其他好文 时间:
2020-06-02 19:03:28
阅读次数:
72