skiplist

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SkipList

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

func New

func New() SkipList

func (*SkipList) Add

func (sl *SkipList) Add(num int)

func (*SkipList) Erase

func (sl *SkipList) Erase(num int) bool

func (*SkipList) Search

func (sl *SkipList) Search(target int) bool

Jump to

Keyboard shortcuts

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