Class TreeAncestor
-
- All Implemented Interfaces:
public final class TreeAncestor
-
-
Constructor Summary
Constructors Constructor Description TreeAncestor(Integer n, IntArray parent)
-
Method Summary
Modifier and Type Method Description final IntegergetKthAncestor(Integer node, Integer k)
-