Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

ci

Binary Tree

A binary tree implementation is available:

from datastructures import Tree, Node

tree = Tree()
tree.size()        // 0
tree.max_depth()   // 0
tree.root          // None
root = tree.add()  // Node
root.left = Node()
tree.size()        // 2
tree.max_depth()   // 2

To check if the tree is a binary search tree:

tree.is_bst()

Metadata

Release files for datastructures 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datastructures 0.1.0
File Size Uploaded
datastructures-0.1.0.tar.gz 88.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datastructures 0.1.0
File Interpreter ABI Platform
datastructures-0.1.0-cp35-cp35m-macosx_10_11_x86_64.whl CPython 3.5 CPython 3.5 pymalloc macOS 10.11+ x86-64 Details

Total release size: 226.5 kB

Release files / datastructures-0.1.0.tar.gz

Download URL datastructures-0.1.0.tar.gz
Size 88.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4835ff619e99d08f084f05bbb894b72481599f7d5c9a512cae5bbdcce71bc565
BLAKE2b-256 checksum
How to use checksums
e96f2e5805f8d459dbf34e193beba32b2416cd8a01914d3f53897431000ff8c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / datastructures-0.1.0-cp35-cp35m-macosx_10_11_x86_64.whl

Download URL datastructures-0.1.0-cp35-cp35m-macosx_10_11_x86_64.whl
Size 138.5 kB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.11+ x86-64
SHA-256 checksum
How to use checksums
fa7bf08a8a9f5f87071e852cc60936737e92516356517bda023537e34616df9d
BLAKE2b-256 checksum
How to use checksums
452a6730b67bc456ed56860436de26a4594029ecd73899f6a0b7c10df41f232b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page