Sparse Tables, RMQ & LCA

Sparse tables with O(1) queries, binary lifting, LCA by Euler tour, and sparse table vs segment tree.

0 / 0 solved