int_sorted_array – git.maharshi.ninja/root/int_sorted_array Index | Files

package int_sorted_array

import "git.maharshi.ninja/root/int_sorted_array"

Index

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

Source Files

main.go

Version
v0.0.0-20211204004647-18be7cd14c2e (latest)
Published
Dec 4, 2021
Platform
linux/amd64
Imports
2 packages
Last checked
3 weeks ago

Tools for package owners.