segment

package
v0.0.0-...-19e92e5 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

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

func BuildTree

func BuildTree(arr []int, s, e int) *Node

func (*Node) Sum

func (n *Node) Sum(s, e int) int

func (*Node) Update

func (n *Node) Update(i int, val int) int

Jump to

Keyboard shortcuts

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