Rosetta Problems
← yosupo に戻る
Lowest Common Ancestor
https://judge.yosupo.jp/problem/lca