segmenttree

package
v0.0.0-...-3b2a8e7 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SegmentTree

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

func New

func New(arr []interface{}, merger func(interface{}, interface{}) interface{}) *SegmentTree

func (*SegmentTree) Get

func (st *SegmentTree) Get(index int) interface{}

func (*SegmentTree) GetSize

func (st *SegmentTree) GetSize() int

func (*SegmentTree) String

func (st *SegmentTree) String() string

Jump to

Keyboard shortcuts

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