Socket
Book a DemoInstallSign in
Socket

@sivarajans/fenwick-tree

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sivarajans/fenwick-tree

Fenwick tree

1.0.2
latest
npmnpm
Version published
Maintainers
1
Created
Source

Fenwick Tree

General tree used for range queries. It works with bits for positional sum up and todo range queries.

The highest element responsible can be found using Bits(n) + Least Significant Bits(n)

Same way the lowest element responsible for range query can be found using Bits(n) - Least Significant Bits(n)

npm i @sivarajans/fenwick-tree

Keywords

Fenwick

FAQs

Package last updated on 17 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.