[KongchangAI]
Concept树状数组 / Binary Indexed Tree

Fenwick Tree

A Fenwick tree (binary indexed tree) is a data structure supporting efficient prefix-sum queries and point updates, with both query and update time complexity of O(log N) and space complexity of O(N).

Timeline (last 90 days)

Dec 4

The method proposed in the paper converts kernel summations into Fenwick tree prefix-sum queries, achieving a subquadratic-time algorithm on R^d for product kernels (such as Laplace, Matérn, Gaussian and inverse multiquadric kernels).

Unverified50%
Dec 4

For an array of length N, a Fenwick tree (binary indexed tree) can complete prefix-sum queries and element updates in O(log N) time, with O(N) space complexity.

Unverified50%
Dec 4

For a product kernel k(x,y)=∏_{r=1}^d φ_r(x_r, y_r), the all-pairs sum can be decomposed into the product of one-dimensional sums over each dimension, and Fenwick trees can compute each one-dimensional prefix sum in O(d log N) time, thereby reducing the total complexity to subquadratic.

Unverified50%

All Facts (3)

Source Articles