Examveda

What is the primary use of a Fenwick Tree (Binary Indexed Tree)?

A. To handle dynamic sets with fast insertions

B. For implementing priority queues

C. To manage a collection of key-value pairs

D. To perform efficient prefix sum queries and updates

Answer: Option D


This Question Belongs to Data Structure >> Miscellaneous On Data Structures

Join The Discussion

Related Questions on Miscellaneous on Data Structures