You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

segmenttreenode

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

segmenttreenode

Data structure for Segment Tree

0.0.1
pipPyPI
Maintainers
1

segmenttreenode

link: https://pypi.python.org/pypi/segmenttreenode Data structure for Segment Tree.

Install: Use 'pip' or 'easy_install' to install the package.

sudo pip install segmenttreenode sudo easy_install segmenttreenode

Usage: In Python File: from segmenttreenode import SegmentTreeNode arr = [1, 3, 5, 7, 9, 11] root = SegmentTreeNode.SegmentTreeNode(arr, 0, len(arr) - 1)

Use this segment tree through the root.

... ...

Explanation: There are three necessary arguments to initialize a segment tree node instance from SegmetTreeNode class.

[1] one dimensional list [2] start index [3] end index

Keywords

segmenttree

FAQs

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