Fenwick (Binary Indexed) Trees

Solve Problems

Difficulty :

?