Range Sum Query and Inversion Count Using BIT | Part 2

Опубликовано: 15 Май 2026
на канале: Luv
27,811
1.2k

In this video I have discussed questions related to binary indexed trees data structure. This Part 2 of the series. If you haven't watched Part 1, Go check it out here :    • Binary Indexed Trees / Fenwick Trees made ...  

Will drop a Part 3 of this video soon in which i will discuss a little advanced question related to this data structure.

Code
Question 1: https://github.com/luvk1412/youtube_c...
Question 2: https://github.com/luvk1412/youtube_c...

Practice questions :
Range sum query : https://leetcode.com/problems/range-s...
Inversion Count : https://www.spoj.com/problems/INVCNT/

Follow me on below platforms for all latest updates
Facebook :   / luvk1412  
Instagram :   / i._m_.luv  
Twitter :   / luvk1412  
Linkedin :   / luvk1412  

Part 1 : (0:00)
Range Sum Query : (0:24)
Inversion Count : (3:57)

Hashtag : #inversioncount #rangesum #binaryindexed #competitivecoding #interviewpreparation