Tree
Meaning in software engineering, with examples
In software engineering, tree means: A data structure with a root at the top and branches of child nodes below it, used for data that has levels, such as folders, menus or a page's HTML.
In Turkish: ağaç, ağaç yapısı
How it is used
Common types are binary trees, binary search trees and the DOM tree in browsers. You traverse or walk a tree, often with recursion. Nodes without children are called leaves. Trees are drawn upside down, with the root at the top.
Example sentences
The category menu is stored as a tree, so subcategories can go as deep as needed.
Write a function that returns the depth of a binary tree.
Common collocations
- binary tree
- traverse a tree
- root node
- tree structure
Related terms
More terms: Data Structures and Algorithms
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
