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
  • Circular Linked list
  • Circular Doubly Linked list

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.5.tar.gz (4.9 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.5-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: linkedlistpy-0.0.5.tar.gz
  • Upload date:
  • Size: 4.9 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.5.tar.gz
Algorithm Hash digest
SHA256 57fc4ad33117deabd37508a642af78b0ded356d7d46c1e6acf0dde7d32790996
MD5 5561d8449129b7d66b6d49ff36e365bc
BLAKE2b-256 f13ab68d43bd93956426847f9ec1a9d469a08b6fb28e8c7e4a935ec849485452

See more details on using hashes here.

File details

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

File metadata

  • Download URL: linkedlistpy-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 addac805030f975bd6d8e925ae824803e49ffa37107da46ae39e2d9139482588
MD5 fcdcf8ba24afa251a3a1fe5d053c9178
BLAKE2b-256 bae6ce5ad9b04b6583eb3844903efbdcb65b42dddcc3ec7b574074e94010b84d

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