package
Version:
v0.0.0-...-36687a4
Opens a new window with list of versions in this module.
Published: Oct 28, 2020
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func MaxRemovedEdgesEvenSubtrees(t Tree) int
MaxRemovedEdgesEvenSubtrees returns the maximum number of edges
that can be removed to result in subtrees that all have even
number of nodes.
type Tree map[int]map[int]struct{}
Tree is an undirected tree.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.