Qurak

TreeDepth

Available

Gives the depth (longest root-to-leaf edge count) of a tree

TreeDepth[tree]
TreeDepth[tree, pattern]
TreeDepth[Tree[data, {}]] → 0

Topics

Related

All 6300 functions · Use this from an MCP client