Explain threaded binary tree with example
Answers
Answered by
0
Definition. A threaded binary tree defined as
follows: "A binary tree is threaded by
making all right child pointers that would
normally be null point to the inorder
successor of the node (if it exists), and all
left child pointers that would normally be
null point to the inorder predecessor of the
node."
follows: "A binary tree is threaded by
making all right child pointers that would
normally be null point to the inorder
successor of the node (if it exists), and all
left child pointers that would normally be
null point to the inorder predecessor of the
node."
Similar questions
Math,
7 months ago
Math,
7 months ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago
Math,
1 year ago
Math,
1 year ago