LP live advance

at video time 1:06:30 how the distance of node 5 and 6 from root is 0 in vertical order printing of binary tree

@Divya_321 When you move right from a particular node, vertical distance increases by 1 and when you move left , it decreases by 1. So this way distance of node 5 and 6 from root is 0

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.