我已经完成了Range更新的几个教程 - 二进制索引树的范围查询.我无法理解他们中的任何一个.我不明白建造另一棵树的必要性.
有人可以用简单的英语向我解释一下吗?
algorithm data-structures fenwick-tree
algorithm ×1
data-structures ×1
fenwick-tree ×1