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
Click to show internal directories.
Click to hide internal directories.