int_sorted_array

package module
v0.0.0-...-18be7cd Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

README

DO NOT USE IN PRODUCTION, MAY HAVE EGREGIOUS BUGS

A simple sorted integer array implementation

Documentation

Licensing

Licensed under GPLv3 and LGPLv3, see here and here.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SortedIntegerArray

type SortedIntegerArray struct {
	Items *[]int
}

func NewSortedIntegerArray

func NewSortedIntegerArray(s []int) SortedIntegerArray

func (*SortedIntegerArray) Delete

func (sia *SortedIntegerArray) Delete(idx int)

func (*SortedIntegerArray) Insert

func (sia *SortedIntegerArray) Insert(i int)

func (SortedIntegerArray) Len

func (sia SortedIntegerArray) Len() int

func (SortedIntegerArray) Median

func (sia SortedIntegerArray) Median() int

Jump to

Keyboard shortcuts

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