question archive python question: define a function min_depth_leaf, which takes a Tree instance and returns the minimum depth of a leaf in the tree
Subject:Computer SciencePrice:3.86 Bought8
python question:
define a function min_depth_leaf, which takes a Tree instance and returns the minimum depth of a leaf in the tree. In other words, it returns the minimum length of a path from the root to a leaf.
Purchased 8 times