Fenwick Tree
Point update: O(log n).
Prefix query: O(log n).
Range sum: O(log n) using two prefix queries.
Space: O(n).
Simpler and often more memory-efficient than a Segment Tree for suitable operations.
It is primarily suited to operations with an invertible prefix aggregation such as sum.