코딩Coding/알고리즘♡Algorithm♡

Tree (root, parent, leaf)

내인생PLUS 2023. 4. 24. 20:41
728x90


Each node in the tree can be connected to many children (depending on the type of tree), but must be connected to exactly one parent,[1] except for the root node, which has no parent.

leaf   leaf   leaf  leaf(children)
     \/            \/
   parent        parent
            \/
           root



https://en.wikipedia.org/wiki/Tree_(data_structure)

Tree (data structure) - Wikipedia

From Wikipedia, the free encyclopedia Abstract data type simulating a hierarchical tree structure and represented as a set of linked nodes Not to be confused with Trie, a specific type of tree data structure. This unsorted tree has non-unique values and is

en.wikipedia.org

















반응형