m2skills

LCA cop

Jun 3rd, 2018
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. Least common Ancestor of nodes 6 and 10 is : 1
  2. Least common Ancestor of nodes 4 and 5 is : 2
  3. Least common Ancestor of nodes 5 and 10 is : 2
  4. Process finished with exit code 0
Add Comment
Please, Sign In to add comment