Question: Consider the above Binary Tree, what will be the result of running the following code: sub P(TreeNode) Output(TreeNode.value) If LeftPointer(TreeNode) != NULL Then P(TreeNode.LeftNode) a)
Consider the above Binary Tree, what will be the result of running the following code: sub P(TreeNode)
Output(TreeNode.value)
If LeftPointer(TreeNode) != NULL Then
P(TreeNode.LeftNode)
a) F, B, A, D, C, E, G, I, H
b) F, B, A, D, C, E, G, H, I
c) B, F, A, D, C, E, G, I, H
d) F, B, A, D, E, G, I, H
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
