X01.BSheepTree: Tree, x01.BSheepTree:

Source: Internet
Author: User

X01.BSheepTree: Tree, x01.BSheepTree:

Data structure, nothing more than three:

1. One-to-one, linear table, array is also;

2. one-to-many, tree, and menu;

3. many-to-many images and networks.

When it comes to trees, there is a balance problem: Left rotation, right rotation, and dizzy. Fortunately, Chen guang's data structure C # description is very detailed and worth reading. Based on the examples in this book, I wrote a small program by means of decompilation. The main purpose is to facilitate learning and to find and review the program by myself. You can download the source code at x01.Download => book => 2016: x01.BSheepTree.zip. Run the following code:

 

Related Article

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.