Hackers News You could have invented Fenwick trees | Journal of Functional Programming adminJanuary 24, 20250 1 Introduction Suppose we have a sequence of n integers $a_1, a_2, \ldots, a_n$ and want to be able to…