Closed 18o3 closed 1 year ago
Used the concept of Binary Lifting and LCA to find the distance between any 2 nodes in a tree.
This is a Hacktoberfest PR so can you please add the "HACKTOBERFEST-ACCEPTED LABEL" if you merge my pull request . Thank You
Used the concept of Binary Lifting and LCA to find the distance between any 2 nodes in a tree.