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
Linked List 就是特殊化的树(有2个 next 指针) Tree 是特殊化的 Graph(没有环的图就是树)
二叉搜索树,也叫二叉排序树、有序二叉树、排序二叉树,是指一刻空树或者具有下列性质的二叉树:
中序遍历:升序排列 插入和操作的时间复杂度都是 O(logn)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Linked List 就是特殊化的树(有2个 next 指针)
Tree 是特殊化的 Graph(没有环的图就是树)
二叉树遍历
查询的时间复杂度是 O(n)
二叉搜索树 Binary Search Tree
二叉搜索树,也叫二叉排序树、有序二叉树、排序二叉树,是指一刻空树或者具有下列性质的二叉树:
中序遍历:升序排列
插入和操作的时间复杂度都是 O(logn)
The text was updated successfully, but these errors were encountered: