level / depth [terminology]
Terminology¶
Usage¶
- Use
levelfor the collection of nodes or values at one tree depth. - Use
depthfor the numeric distance from the root. - Avoid abbreviating
depthtodep, which can imply dependency. - Keep
level_sizewhen freezing the number of nodes in the current BFS layer.