What is a Fenwick tree (Binary Indexed Tree) used for? | LetsGit.IT