Skip to content

It is a python module , with all known data structures available to import in your program .

License

Notifications You must be signed in to change notification settings

koustreak/datakit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datakit

datakit is a python library for dealing with various real life data structures and its usage. Data Structures like stack , queue , heap , tree , graph , matrix , linked list , array have been implemented and ready to use.

Installation

Use the package manager pip to install datakit.

pip install datakit

Usage

from datakit import stack
from datakit import queue
from datakit import linked_list
from datakit import node

# Initialize a stack 

st = stack(size=10)
st.insert(1)
st.pop()

qu = queue(size=10)
qu.insert(1)
qu.pop()

ll = linked_list()
nd = Node(1)
ll.head = nd

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

It is a python module , with all known data structures available to import in your program .

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages