Query regarding Fast LCA approach?

Problem INTRPATH in June19 Long Challenge, involves fast LCA , I’m a beginner , can i get some help regarding usage of segment trees and sparse tables.

look at editorial

https://discuss.codechef.com/t/intrpath-editorial/

1 Like

Look at this …

2 Likes