Versions in this module Expand all Collapse all v0 v0.1.0 Mar 11, 2020 Changes in this version + type RootedTree struct + Depth []int + Parent [][]int + Root int + func NewLCA(size, root int) RootedTree + func (t *RootedTree) AddEdge(v, w int) + func (t *RootedTree) Init() + func (t *RootedTree) Lca(v, w int) int + type Tree struct + Adj [][]int + Size int