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