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.3.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.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: linkedlistpy-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 83a33d7bf29cde0b69beccac76da7de1ee9574361bad0f6d14a848a4dba92604
MD5 c42f9a8bf096f82bf3638919df0f656b
BLAKE2b-256 14528994307c97ccaac6a7a465bb4d875e11510fc98f2eb27ace85de590e4946

See more details on using hashes here.

File details

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

File metadata

  • Download URL: linkedlistpy-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e375429c81d3f82caa33acd116e6d2942c436cb982c21d5bb5e5c81bbb4277e4
MD5 d7a6cf3aba56c4ea4c2566a7baeb08bd
BLAKE2b-256 18f619fbfecb562600d840b106d648270a7a55ce725d77dc7abef2096eb99f02

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