Skip to main content

some useful tools for linked lists

Project description

pylinkedlist - a Linked List library

This library provides linked lists so that you won't have to build your own! (especially for those evil interviews)

GitHub Workflow Status pypi GitHub stars

Installation

pip install linkedlistpy

Quick start

from linkedlistpy import LinkedList

linked_list = LinkedList()

linked_list.append(1)
linked_list.append_left([3, "foo", tuple, true])

print(linked_list)
>> [3, "foo", tuple, true, 1]

linked_list.reverse()

print(linked_list)
>> [1, true, tuple, "foo", 3]

Features included (for now)

Linked Lists

  • Singly Linked list
  • Doubly Linked list (TODO)
  • Circular Linked list
  • Doubly Circular Linked list (TODO)

Methods

  • built-in
    • str
    • list
    • len
  • append
  • append_left
  • insert
  • delete
  • reverse

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

linkedlistpy-0.0.4.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

linkedlistpy-0.0.4-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file linkedlistpy-0.0.4.tar.gz.

File metadata

  • Download URL: linkedlistpy-0.0.4.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.5

File hashes

Hashes for linkedlistpy-0.0.4.tar.gz
Algorithm Hash digest
SHA256 7b3d06b82619bdd88eb6bb5c2d4b0b929cad0b34b082922b68c6eb08189ec312
MD5 50f83885d5e43d07cebf7c612e3edb69
BLAKE2b-256 538997c080f3bd3b9f47e1ce3510dfe01e72d1b2de3142130c6199a46b404c01

See more details on using hashes here.

File details

Details for the file linkedlistpy-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: linkedlistpy-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.5

File hashes

Hashes for linkedlistpy-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 582251ffc73501226bd0c579bae65b480732a5482efd96a6cdbc8a2bc2096938
MD5 a7fd54470e863a92e4153f7baa214e8b
BLAKE2b-256 80847549e74427c87ce9afee61a4a9add078b9261ee626d9866fb82b7fa7ff85

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