Degree of node:is the total number of children
Of that node
Degree of A is 2
Degree of B is 2
Degree of c is 3
Copies of binary tree:
Let "root" be the root node of binary tree.
In many application programmer wants to duplicate a tree structure
Copy a tree structure using postorder scan.This build the duplicate from bottom up
Comments
Leave a comment