Versions in this module Expand all Collapse all v1 v1.0.3 Sep 13, 2023 Changes in this version + type DiffArray struct + func (m *DiffArray) BuildDiffArray(array []int) + func (m *DiffArray) GetAttribute() *C.Attribute + func (m *DiffArray) GetDiffArray() []int + func (m *DiffArray) Increase(i, j, val int) + type FlightBookings struct + func (m *FlightBookings) GetAttribute() *C.Attribute + func (m *FlightBookings) Method(bookingRecord [][]int, seatNum int) []int + type GapMulti struct + func (m *GapMulti) GetAttribute() *C.Attribute + func (m *GapMulti) Method(array []int) []int + type OverHalfNum struct + func (m *OverHalfNum) GetAttribute() *C.Attribute + func (m *OverHalfNum) Method(array []int) int + type OverHalfNumByMap struct + func (m *OverHalfNumByMap) GetAttribute() *C.Attribute + func (m *OverHalfNumByMap) Method(array []int) int + type OverHalfNumBySort struct + func (m *OverHalfNumBySort) GetAttribute() *C.Attribute + func (m *OverHalfNumBySort) Method(array []int) int + type PreSumArray struct + func (m *PreSumArray) BuildPreSum(array []int) + func (m *PreSumArray) GetAttribute() *C.Attribute + func (m *PreSumArray) QueryPreSum(i, j int) int