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 evil interviews)

Tests

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
  • 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.2.tar.gz (3.6 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.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: linkedlistpy-0.0.2.tar.gz
  • Upload date:
  • Size: 3.6 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.2.tar.gz
Algorithm Hash digest
SHA256 814bd37a632f62b0ef2ebff88ba4f5af92d396bd80bbe1e7f02a33d45157bd8a
MD5 bcc29f1050f2d2792c4894417bf85d48
BLAKE2b-256 c59cec1f2b96522bfcd59d2c3efe23a1ec0605a1561bad8eaff1e521a568cfcf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: linkedlistpy-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0224f758f93d41254c71bc6f76f1e10c44da2207bed42feb6bd89734c9809187
MD5 9366e0c54254a92f048389b3a1fb5e0b
BLAKE2b-256 84ce17e4f7f8b43bfa4a023f33308969bf3f9547b5efa080d67737dc630d0c60

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