Constructors

Properties

prefixSum: Uint32Array

prefixSum[i] = SUM(heights[j]), 0 <= j <= i

prefixSumValidIndex: Int32Array

prefixSum[i], 0 <= i <= prefixSumValidIndex can be trusted

values: Uint32Array

values[i] is the value at index i

Methods