Binary Indexed Tree (easy to code data structure similar to a segment tree)http://michaelnielsen.org/polymath1/index.php?title=Updating_partial_sums_with_Fenwick_tree by Siira • 7 years ago 2 0 7 years agoMImichaelnielsen.org