| 6 | ) |
| 7 | |
| 8 | type Tree struct { |
| 9 | Root *Root |
| 10 | Nodes map[int]struct{} |
| 11 | ID int |
| 12 | } |
| 13 | |
| 14 | func (t *Tree) BFSInsert(value NodeValue) { |
| 15 | t.Nodes = make(map[int]struct{}) // Reset the nodes map |
nothing calls this directly
no outgoing calls
no test coverage detected