-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
添加 rbt,B树,leafy tree,toptree #6
Comments
我或许可以写一下 llrbt (咕咕预警 |
我可能会写篇 b tree 和 b+ tree 上去(超级大鸽子警告 |
怎么回事?还没有啊 |
@pluveto 欢迎来开一个 PR 来添加这些内容~ |
还在鸽啊 |
working on it... |
这看来是祖坟级issue,留个名先: |
这两个都是为磁盘优化的数据结构,在 OI 这种根本不会去操作磁盘的环境优势不明显 |
Rust标准库里面的map就是btreemap,原因是局部性比较好( |
我记得也和语言设计也有关,有人用 Java 写 BTreeMap,性能并不理想 |
我见过手写avl树的,avl树代码不长。当然,avl树在OI Wiki上已经有了。 |
working on b tree... |
working on leafy tree... |
expected ovo |
祝贺 |
ref: http://scaffrey.blog.uoj.ac/blog/3667#comment-8435
The text was updated successfully, but these errors were encountered: