We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
Tree (data structure)
Jump to navigation
Jump to search
- Not to be confused with Tree.
A tree is a data structure which consists of nodes. To be specific, it is an undirected connected graph with the number of edges equal to the number of nodes minus one. There are rooted trees where every node other than the root has one father and every node has any number of sons, and unrooted trees without a fixed root.
See also
- Tree-based languages.
- Graph