Skip to main content

Python Package of datastructures inbuilt

Project description

Python Package with several DataStrucutes implemented

#from ds.sll import * #from ds.dll import * #from ds.graph import * #from ds.avl import * #from ds.trie import * #from ds.segmenttree import * #from ds.inset import * #from ds.treeset import * #from ds.avl import *

To find about the implementation of datastructure you can use help commands

#help(avl) #help(graph) #help(bst) #help(binarytree) #help(inset) #help(segmentree) #help(trie) #help(sll) #help(dll) #help(treeset) #help(redblacktree)

Sample implementaion of the Doubly Linked List Data Structure

#arr = [i for i in range(7)] #dll = dll(arr) you can also declare a null dll #print(dll) #dll.add(7) #dll.add(9,1) add(index = 0 by default,val) #print(dll) #dll.remove(9) dll.remove(val) #a = dll.getNode(6) gets pointer to the node #print(a.data) #print(len(dll)) #print(dll)

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

dspack-0.0.2.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dspack-0.0.2-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file dspack-0.0.2.tar.gz.

File metadata

  • Download URL: dspack-0.0.2.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.9

File hashes

Hashes for dspack-0.0.2.tar.gz
Algorithm Hash digest
SHA256 fb0e091167bc740748297e77b1b1354e55947614298cc6c217d714146e32b637
MD5 85251e0dd8808d3a6095342e23b6396d
BLAKE2b-256 c17766c8494b7f0a68382a3e4c18719b8f6422f0739447a634b9e28ae6e34d7d

See more details on using hashes here.

File details

Details for the file dspack-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: dspack-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.9

File hashes

Hashes for dspack-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a0b40bab7321ad0f2dadc5bb668b7c57ba574292945e26853dab686242d03399
MD5 e1dc0f0533cebba3d7b887da237f0d9f
BLAKE2b-256 dc17d9e8ca481d5cf868d5f054904db20b4fb61a869f06484a58db5838e7c036

See more details on using hashes here.

Supported by

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