Degree of a node - No of edges connected to the node.
node with 2 children has degree 3.( except root which has degree = 2). node with 1 children has degree 2.( except root which has degree = 1). leaf node has degree = 1.
64.3k questions
77.9k answers
244k comments
80.0k users