It helps to have read 2.1 Prefix sums and 4.1 Trees. Overall level: Advanced.
Practice this topic
Four coding problems for Fenwick and segment trees · 0 of 4 solved