In the following data structures, () is a non-linear data structure

Source: Internet
Author: User
Tags arrays data structures

in the following data structures, () is a non-linear data structure

A: Tree (binary tree)
B: String
C: Queue
D: Stack
E: Linear table
F: two-dimensional array
G: Multidimensional arrays
H: Heap

The logical structure of data is divided into linear structure and nonlinear structure.
Common Linear Structures are: linear tables, stacks, queues, double queues, arrays, strings.
Common Nonlinear Structures are: two-dimensional arrays, multidimensional arrays, generalized tables, trees (binary trees, etc.), graphs, heaps.

a heap is a nonlinear structure.
From the data structure level, the heap is a special kind of tree data structure, a binary tree, with the largest heap minimum heap each node has a value. Usually what we call a heap of data structures is a two fork heap. There is a value for each node with the maximum heap minimum heap. Heap is divided into large piles, small Gan, Dagen is the root node of the tree is larger than the leaf node.

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.