Fastest way to calculate LCA?

Правка en1, от vkditya0997, 2016-06-25 11:07:33

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!

Теги lca, #trees, topcoder

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский vkditya0997 2016-06-25 11:07:33 233 Initial revision (published)