50. For any nonempty binary tree, if n0 is the number of terminal nodes, n2 is the number of nodes of degree 2 then which one of the following is true? ( )
A:n0=n2+1B:n0=n2-2C:n0=n2+2D:n0=n2-1
发布时间:2024-04-16 13:05:31
A:n0=n2+1B:n0=n2-2C:n0=n2+2D:n0=n2-1