MCPcopy
hub / github.com/TheAlgorithms/Go / ITree

Interface ITree

graph/lowestcommonancestor.go:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19type ITree interface {
20 dfs(int, int)
21 addEdge(int, int)
22 GetDepth(int) int
23 GetDad(int) int
24 GetLCA(int, int) int
25}
26
27type Tree struct {
28 numbersVertex int

Callers 6

LowestCommonAncestorFunction · 0.65
KosarajuMethod · 0.65
NewTreeFunction · 0.65
generateQueryFunction · 0.65
generateQueryFunction · 0.65
TestLCAWithLargeTreeFunction · 0.65

Implementers 1

Treegraph/lowestcommonancestor.go

Calls

no outgoing calls

Tested by

no test coverage detected