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