st

package
v0.0.0-...-b5790eb Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package st provides Hash Tables

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinearProbingHashST

type LinearProbingHashST struct {
	M    int
	Vals []Value
	Keys []Key
}

func (*LinearProbingHashST) Get

func (st *LinearProbingHashST) Get(k Key) Value

func (*LinearProbingHashST) Put

func (st *LinearProbingHashST) Put(k Key, v Value)

type Node

type Node struct {
	K    Key
	V    Value
	Next *Node
}

type SeperateChainingHashST

type SeperateChainingHashST struct {
	M int
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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