Metadata-Version: 2.1
Name: Linked-List-lib
Version: 0.0.3
Summary: Library for Studying and Applying Linked List Data Structure
Home-page: https://github.com/daniel-yj-yang/Linked_List_lib
Author: Daniel Yang
Author-email: daniel.yj.yang@gmail.com
License: BSD 3-Clause
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/x-rst
License-File: LICENSE

.. -*- mode: rst -*-

|BuildTest|_ |PyPi|_ |License|_ |Downloads|_ |PythonVersion|_

.. |BuildTest| image:: https://travis-ci.com/daniel-yj-yang/Linked_List_lib.svg?branch=main
.. _BuildTest: https://app.travis-ci.com/github/daniel-yj-yang/Linked_List_lib

.. |PythonVersion| image:: https://img.shields.io/badge/python-3.8%20%7C%203.9-blue
.. _PythonVersion: https://img.shields.io/badge/python-3.8%20%7C%203.9-blue

.. |PyPi| image:: https://img.shields.io/pypi/v/Linked_List_lib
.. _PyPi: https://pypi.python.org/pypi/Linked_List_lib

.. |Downloads| image:: https://pepy.tech/badge/Linked_List_lib
.. _Downloads: https://pepy.tech/project/Linked_List_lib

.. |License| image:: https://img.shields.io/pypi/l/Linked_List_lib
.. _License: https://pypi.python.org/pypi/Linked_List_lib


============================================================
Library for Studying and Applying Linked List Data Structure
============================================================

Installation
------------

.. code-block::

   pip install Linked_List_lib

Sample Usage
------------

.. code-block::

   from Linked_List_lib import sll_node # singly linked list node

   curr = head = sll_node(1)
   curr.next = sll_node(2)
   curr = curr.next
   curr.next = sll_node(3)
   curr = curr.next
   curr.next = sll_node(4)
   curr = curr.next
   curr.next = sll_node(5)

   print(head)
   print(head.middle)
   head = head.reversed
   print(head)
   head = head.reversed
   print(head)


