Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindCircleNum ¶
Types ¶
type UnionFindSet ¶
type UnionFindSet struct {
// contains filtered or unexported fields
}
并查集,判连通用
func NewUnionSet ¶
func NewUnionSet(n int) *UnionFindSet
Click to show internal directories.
Click to hide internal directories.