Hello Community,
I am trying to learn to find LCA using binary lifting method. But, I am unable to find where does my code fail. It would be great if someone could point this out.
Problem: LCA
Solution: Solution
Please Help me with this guys ! Please. Thank you!