Algo_ds_101: Implementing Binary Indexed Tree Or Fenwick Tree | Range Queries | C++

Created on 17 Oct 2020  路  7Comments  路  Source: ahampriyanshu/algo_ds_101

Submission Title

  • Binary Indexed Tree

Submission Type

  • Algorithm

Submission Description

  • To perform query and update both in O(logN) time we use fenwick tree.
  • Compared with Segment Tree, Binary Indexed Tree requires less space and is easier to implement.
  • I will perform build, update, query operations to find maximum in a given range.

Submission Directory
algo_ds_101 => Data_Structures => Tree => Binary_Indexed_Tree => range_max_query_BIT.cpp

Contributors

  • [x] C++ -
  • [x] C -
  • [ ] Python -
  • [ ] Java -
  • [ ] JavaScript -
  • [ ] TypeScript -
  • [x] Golang -
  • [ ] Ruby -
  • [ ] php -
  • [ ] Swift -
  • [ ] C# -
C# Hacktoberfest New Submssion TypeScript first timer good first issue javascript php ruby scala swift

All 7 comments

馃憢 @${author}

Thanks for opening your first issue here! Be sure to follow the issue template!

Regards @ahampriyanshu :v:

I would like to work on it.

Can I get assigned for the python implementation please?

Can I do the Golang implementation too?

I would like to implement it in c.

Can I also implement it in Java?

thanks everyone :v:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Nirali0029 picture Nirali0029  路  4Comments

aakashsoni-cloud picture aakashsoni-cloud  路  3Comments

crew-guy picture crew-guy  路  4Comments

ahampriyanshu picture ahampriyanshu  路  5Comments

ahampriyanshu picture ahampriyanshu  路  5Comments