We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
研发过程中干的蠢事: 把immutable中的orderset打平成array用indexOf去查找索引值
Set的查询效率是O(logn),底层的数据结构是一个二叉平衡搜索树,红黑树。
Map 二元组集合,底层数据结构也是由红黑树来实现,key来排序和确定树中的位置,由key去得到value值。
红黑树条件: 1、根是黑节点 2、红节点带两个黑节点 3、叶子节点是黑节点 4、任意一个节点到所有叶子节点的路径包含相同的黑节点
// 未完待补充...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
研发过程中干的蠢事:
把immutable中的orderset打平成array用indexOf去查找索引值
Set的查询效率是O(logn),底层的数据结构是一个二叉平衡搜索树,红黑树。
Map 二元组集合,底层数据结构也是由红黑树来实现,key来排序和确定树中的位置,由key去得到value值。
红黑树条件:
1、根是黑节点
2、红节点带两个黑节点
3、叶子节点是黑节点
4、任意一个节点到所有叶子节点的路径包含相同的黑节点
// 未完待补充...
The text was updated successfully, but these errors were encountered: