Fenwick Tree
Problems on Fenwick trees, including prefix sums with point updates, counting inversions, counting smaller elements to the left, range updates with point queries, and two-dimensional sums.
The prefix sums article in the Basics section covers the static version of the problem. Related problem sets are under Segment tree, Prefix sums and Range queries.
समस्याएँ
Segment Sum#2156
बहुत कठिन (≈2050)
Changing on a Segment (High)#2875
बहुत आसान (≈850)
Change on the Segment Junior#2876
आसान (≈1000)
Dima and large array#2940
बहुत आसान (≈850)
Dima and array#2941
बहुत आसान (≈850)
Dima and the Table#2943
कठिन (≈1650)
Inner Vertices#3061
बहुत आसान (≈850)
A Safe Bet#3395
बहुत आसान (≈850)
Bitris#3842
बहुत आसान (≈850)
Juggler#3976
कठिन (≈1650)
Staircase Patterns#4073
बहुत आसान (≈850)
Sum on a segment#4255
बहुत आसान (≈850)
Number of inversions#4261
आसान (≈1000)
Adventures of Dunno and His Friends#4496
बहुत आसान (≈850)
K-inversions#4952
बहुत आसान (≈850)
Fenechka#5274
कठिन (≈1650)
Kitten's Task#5449
बहुत आसान (≈850)
Stars#5619
मध्यम (≈1350)
Mega Inversions#6021
बहुत आसान (≈850)
Flight Boarding Optimization#6265
कठिन (≈1650)
Airport Sort#6946
कठिन (≈1650)
Building a Fenwick Tree#8247
बहुत आसान (≈850)
Daily Division#9870
बहुत कठिन (≈2050)
Sleepy Cow Sorting (Gold)#10336
कठिन (≈1650)
Mowing Mischief#10352
बहुत कठिन (≈2050)