solution

package
v0.0.0-...-291ea56 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyHashSet

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

MyHashSet contains its data and numbers of row and colmn.

func Constructor

func Constructor() MyHashSet

Constructor initializes MyHashSet.

func (*MyHashSet) Add

func (h *MyHashSet) Add(key int)

Add just sets target hash data true

func (*MyHashSet) Contains

func (h *MyHashSet) Contains(key int) bool

Contains returns a data of target in [][]bool.

func (*MyHashSet) Remove

func (h *MyHashSet) Remove(key int)

Remove sets target hash data false

Jump to

Keyboard shortcuts

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