Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TreeAncestor ¶
type TreeAncestor struct { }
func Constructor ¶
func Constructor(n int, parent []int) TreeAncestor
func (*TreeAncestor) GetKthAncestor ¶
func (this *TreeAncestor) GetKthAncestor(node int, k int) int
Click to show internal directories.
Click to hide internal directories.