Fenwick Trees: Binary Indexed Trees April 7, 2026 21 min read Fenwick trees support prefix sums and point updates in O(log n). Learn the one-based index walks, coordinate compression, and when a segment tree fits better. #fenwick-trees #binary-indexed-trees #data-structures #prefix-sum #algorithms #dsa