Help Wanted SPOJ — LCA

Revision en1, by retr0coderxyz, 2020-03-16 17:09:54

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!

Tags #spoj, lca, #binary-lifting

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English retr0coderxyz 2020-03-16 17:09:54 365 Initial revision (published)