Versions in this module Expand all Collapse all v0 v0.1.0 Mar 11, 2020 Changes in this version + type BIT struct + Nodes []int + Size int + func NewBIT(size int) *BIT + func (bit *BIT) Accumulate(end int) (result int) + func (bit *BIT) Add(location, value int) + func (bit *BIT) Sum(start, end int) int