Hello Codeforces,
I was learning about LCA today. I found some video tutorial which explained a naive method.
So, I wanted to know the best Algorithm for finding LCA between two nodes.
Thank you!
Fastest way to calculate LCA?
Hello Codeforces,
I was learning about LCA today. I found some video tutorial which explained a naive method.
So, I wanted to know the best Algorithm for finding LCA between two nodes.
Thank you!
Rev. | Язык | Кто | Когда | Δ | Комментарий | |
---|---|---|---|---|---|---|
en1 | vkditya0997 | 2016-06-25 11:07:33 | 233 | Initial revision (published) |