why are we using k-2-DL in the video to find nodes at distance k
Nodes at distance k from given node -doubt
hello @vaishnavi20001611
let say we r on some node (say A).
and distance of left node of A from target node is dl .
then distance of current node will be dl+1 and distance of node in right subtree of A will ve dl+2
node we need to find all node at distance k-(dl+2) -> k-dl-2 in right subtree.