DS 19-AM Tree _GA 094930
DS 19-AM Tree _GA 094930
Degree of A = 2 (B, C)
Degree of E = 2(I, J)
• A Binary Tree is a tree in which each node has at most two children — called the left and
right child.
• OR A Binary tree is a data structure in that each node has at most two nodes left and right
• In binary tree, root has in-degree 0 and maximum out-degree 2.
• In binary tree, each node have in-degree one and maximum out-degree 2.
• max 2 ,min 0 or 1 node.
General (Non-Binary) Trees