I came across this paper↵
↵
On Finding Lowest Common Ancestors: Simplification and Parallelization↵
by Baruch Schieber, Uzi Vishkin↵
April, 1987↵
↵
so naturally I tried to code golf it↵
↵
lca https://judge.yosupo.jp/submission/30494260243↵
↵
rmq https://judge.yosupo.jp/submission/304936↵
↵
edit: minor golf60244
↵
On Finding Lowest Common Ancestors: Simplification and Parallelization↵
by Baruch Schieber, Uzi Vishkin↵
April, 1987↵
↵
so naturally I tried to code golf it↵
↵
lca https://judge.yosupo.jp/submission/3
↵
rmq https://judge.yosupo.jp/submission/3
↵
edit: minor golf



