JavaScript:实现FenwickTree芬威克树算法
export default class FenwickTree {
constructor(arraySize) {
this.arraySize = arraySize;
// Fill tree array with zeros.
export default class FenwickTree {
constructor(arraySize) {
this.arraySize = arraySize;
// Fill tree array with zeros.