코딩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)
반응형