1.

Which of the following is the correct definition for a horizontal link?(a) connection between node and a child of equal levels(b) connection between two nodes(c) connection between two child nodes(d) connection between root node and leaf nodeQuestion is from Binary Trees in section Binary Trees of Data Structures & Algorithms II got this question in an online interview.

Answer»

The correct choice is (a) CONNECTION between node and a child of EQUAL LEVELS

The BEST I can explain: A horizontal link is a connection between a node and a child of equal levels.



Discussion

No Comment Found

Related InterviewSolutions