I understand that the degree of a node is the number of children it has.
However, how do we define the degree of a tree?
The degree of a node is the number of its children. The degree of a tree is the maximum degree of any of its nodes.