Leftist Tree(左偏樹)
Definition
- A leftist tree is a binary tree such that if it is not empty, then for every internal node x Shortest(left_child(x))>=Shortest(right_child(x))
- A min-leftist tree (max-leftist tree) is a leftist tree in which the key value in each node is no larger (smaller) than the key values in its children (if any).
Extended Binary tree
原文連結It Blog
喜欢我的文章吗?
别忘了给点支持与赞赏,让我知道创作的路上有你陪伴。
发布评论…