Skip to content

Latest commit

 

History

History

09-fenwick-tree

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Unit 9: Fenwick Tree

This unit covers the Fenwick Tree datastructure, otherwise known as Binary Indexed Tree. We apply the Fenwick Tree to the problem of Dynamic Range Sum Query and see the pros and cons of using a Fenwick Tree over a Segment Tree.

Complementary notes can be found in section 2.4.3 of the book Competitive Programming 3.

Prerequisites

Practice problems

Easy

Less easy

Not easy

Recommended reading