i am not getting point after L!=1.
can you provide a video of an example explaining this algo.
Nature of algo is confusing
@Ninja01 bro ,hint me video di hui hai use dobara dekh lo you will get it also you can refer to this link:
https://www.google.com/amp/s/www.geeksforgeeks.org/print-nodes-distance-k-given-node-binary-tree/amp/
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.
it should be L!=-1 in place of L!=1.
@Ninja01 hey woh function agr -1 return krrha hai agr node nhi find hui to -1 agr 1 return kraya hai to 1 its depend on you.