Tree is an Abstract Data Type used in programming languages.

flowchart TD
    Root["root"] --> ChildA["child"]
    Root --> ChildB["child"]
    ChildA --> LeafA["leaf"]
    ChildA --> LeafB["leaf"]

Anki

id: tree-definition deck: Computer Science::Data Structures tags: data-structures tree

Q: What kind of information naturally fits in a tree? A: Hierarchical information, such as folders, organization charts, HTML elements, or family relationships.

id: tree-root-leaf deck: Computer Science::Data Structures tags: data-structures tree

Q: In a folder tree, what is like the root and what is like a leaf? A: The top folder is like the root, and a file or empty folder at the end of a path is like a leaf.