connecting_cities_with_minimum_cost

package
v0.0.0-...-6176cdb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2022 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisjointSet

type DisjointSet struct {
	// contains filtered or unexported fields
}

func NewDisjointSet

func NewDisjointSet(n int) *DisjointSet

func (*DisjointSet) Find

func (d *DisjointSet) Find(x int) int

func (*DisjointSet) Union

func (d *DisjointSet) Union(x, y int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL