Skip to main content

Python 3+ version data structures

Project description

Python basic data structures implementations

The data_structures3x is a python package with 3 of the most basic data structures. The package would keep updating as python itself updates to higher versions.

It contains the following data structures:

  • Binary Tree
  • Linked List
  • Hashmap

Installation

If not already, install pip

Install the package with pip or pip3:

pip install data-structures3x

Usage

See more examples at My Docs

Example of a linked list:

from dt_structures3x.linkedlist import Item
# linked list
root = Item(10)
root.appendChild(Item(17), Item(19))
root.display()

Output:

10 -> 17 -> 19

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

data-structures3x-1.4.6.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

data_structures3x-1.4.6-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page