background picture of the home page

Hi,Friend

Hi!

B+树

一. 理论 1. 定义 2. 与B树对比 B树成功可能停在任何一层;B+树中,⽆论查找成功与否,最终⼀定都要⾛到最下⾯⼀层结点。 m阶B树结点中的n个关键字对应n+1棵⼦树;m阶B+树,n个关键字对应n棵子树。

thumbnail of the cover of the post

并查集

朴素并查集 带权并查集 扩展域并查集 可持久化并查集

thumbnail of the cover of the post

祖孙询问

一. 题目 二. 思路 倍增法: f[i, j]:从节点i开始,向上走2^j次方步所能走到的

thumbnail of the cover of the post