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
Join The Discussion