Skip to content

Fenwick Tree Implementation #795

Description

@anirudhb11

Is your feature request related to a problem? Please describe.
I would like to add an implementation of Fenwick Tree to the Data Structures collection

Describe the solution you'd like
The data structure would be implemented using an array and would support range sum and point update queries in O(logN) time. The space complexity would be O(N) where N is the number of element of the array for which we would build the Fenwick Tree.

Additional context
https://www.geeksforgeeks.org/binary-indexed-tree-or-fenwick-tree-2/

As part of Hacktoberfest 2021, I would like to add this implementation, could you please assign this to me @cclauss , @itsvinayak
Thank you

Activity

  1. cclauss commented on Oct 18, 2021

    @cclauss
    Member

    We do not assign people to issues. We review pull requests.

    If multiple parties choose to open pull requests against an issue, it is almost always a learning experience for all parties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions