StackOverflow Questions for Tag: binary-indexed-tree

Vishal Jangid
Vishal Jangid

Reputation: 418

How to Use Binary Indexed Tree for Counting Reverse Pairs in an Array?

Score: 1

Views: 225

Answers: 1

Read More
Rupasai Rangaraju
Rupasai Rangaraju

Reputation: 1

Why we need two fenwick tree to get range sum of [l, r] given there are array of numbers and range updates and queries are performed on the array?

Score: 0

Views: 291

Answers: 1

Read More
eleven22
eleven22

Reputation: 93

What does "x += x & (-x)" mean?

Score: 7

Views: 10392

Answers: 4

Read More
Hlib Pylypets
Hlib Pylypets

Reputation: 358

Fenwick tree(BIT). Find the smallest index with given cumulative frequency in O(logN)

Score: 0

Views: 471

Answers: 1

Read More
0xAliHn
0xAliHn

Reputation: 19270

Difference between Binary Search Tree and Binary Index Tree

Score: 3

Views: 291

Answers: 0

Read More
ihainan
ihainan

Reputation: 75

Binary Indexed Tree: Why does "i + lowBit(i)" work?

Score: 3

Views: 289

Answers: 0

Read More
halcyon44
halcyon44

Reputation: 13

Quick Way of Finding How many Substrings has first and last character repeated inside

Score: 1

Views: 323

Answers: 1

Read More
user43389
user43389

Reputation: 731

Update step in Fenwick Trees

Score: 4

Views: 636

Answers: 1

Read More
Kushagra
Kushagra

Reputation: 41

how to increase the size limit of a mutable list in kotlin?

Score: 0

Views: 2919

Answers: 1

Read More
piedpiper
piedpiper

Reputation: 1360

How can we calculate weighted cumulative sum of squares with prefix range updates by one?

Score: 3

Views: 265

Answers: 0

Read More
Nedas Bolevičius
Nedas Bolevičius

Reputation: 321

C++ Counting inversions in array, Fatal Signal 11 (BIT)

Score: 0

Views: 79

Answers: 1

Read More
bordus
bordus

Reputation: 35

Count "minimal" values

Score: 1

Views: 136

Answers: 2

Read More
thule
thule

Reputation: 4222

Can someone please explain the solution to "Almost sorted intervals" to me?

Score: 1

Views: 3401

Answers: 2

Read More
Chandan Mittal
Chandan Mittal

Reputation: 75

Range update in Binary Indexed Tree

Score: 1

Views: 361

Answers: 2

Read More
Diego Becquer
Diego Becquer

Reputation: 81

Answer queries about the number of distinct numbers in a given range

Score: 1

Views: 515

Answers: 1

Read More
Brian Lee
Brian Lee

Reputation: 51

how to get inversion count with update

Score: 1

Views: 120

Answers: 0

Read More
goku
goku

Reputation: 156

can someone provide me the algorithm of 2-d binary indexed tree?

Score: 0

Views: 647

Answers: 1

Read More
nRT
nRT

Reputation: 13

String query with binary indexed tree

Score: 0

Views: 312

Answers: 1

Read More
aroma
aroma

Reputation: 1421

Application of binary indexed tree

Score: 1

Views: 546

Answers: 1

Read More
Roshan
Roshan

Reputation: 150

range XORed sum using BIT or Fenwick tree

Score: 1

Views: 766

Answers: 1

Read More
PreviousPage 1Next