Balance Tree Series "1" from two fork find tree talk about balance tree

Source: Internet
Author: User

This konjac Konjac can not tell when it will be updated.

#0 Pre

A tree is an abstract data structure that has a strong vitality.

Essentially a tree is a special case of a graph, but the particular nature of the tree makes it much more convenient to deal with the graph.

And the binary tree is a special case of the tree, so through the binary tree, we have a variety of data structures. Binary tree diagram is rare, but it is common for data structures. Why is it? The binary tree has a friendly nature as follows:

1> two fork, just record left and right son
2> the implementation of the convenient rotation (will speak later)
3> h (full two fork tree) =o (log n)

Balance Tree Series "1" from two fork find tree talk about balance tree

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.