Q122
What must be the missing logic below so as to print mirror of a tree as below as an example? if(rootnode): mirror(rootnode-->left) mirror(rootnode-->right) //missing end
What must be the missing logic below so as to print mirror of a tree as below as an example?


if(rootnode):
mirror(rootnode-->left)
mirror(rootnode-->right)
//missing
endA.
swapping of left and right nodes is missing
AnswerB.
swapping of left with root nodes is missing
C.
swapping of right with root nodes is missing
D.
nothing is missing
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board