Immiel 2e2e1b656c
singly_linked_list: Added additional documentation, type hints and test cases (#4988)
This is a followup to https://github.com/TheAlgorithms/Python/pull/4973#issuecomment-933117382

As per given suggestion, I've added type hints to certain methods that don't have them.  I have also added documentation and example doctests as a usage example for (most of) those that don't have them.

I have also added another test case following the previous test case's format. I noticed that the existing test case from previous pull request might be redundant with the ones I've made, so I decided to create a specific situation where the linked list would have to keep different kinds of data types for each node, in `test_singly_linked_list_2` test function.

Some minor changes in strings has been done to keep things consistent with other parts of the document. If it is undesirable, please let me know.
2021-10-20 16:08:39 +08:00
2021-10-19 08:37:51 +02:00
2021-03-20 06:49:30 +01:00
2021-09-07 13:37:03 +02:00
2021-09-07 13:37:03 +02:00
2021-10-18 12:46:23 +08:00
2021-09-07 13:37:03 +02:00
2021-06-08 22:49:33 +02:00
2021-09-07 13:37:03 +02:00
2021-10-04 12:07:58 +08:00
2021-10-18 21:35:35 +08:00
2019-11-17 19:37:58 +01:00
2021-10-19 21:36:01 +02:00
2021-02-19 19:15:19 +01:00
2021-09-29 23:34:35 +05:30
2021-06-08 22:49:33 +02:00

The Algorithms - Python

Gitpod Ready-to-Code Contributions Welcome Donate Discord chat Gitter chat
GitHub Workflow Status LGTM pre-commit code style: black

All algorithms implemented in Python - for education

Implementations are for learning purposes only. As they may be less efficient than the implementations in the Python standard library, use them at your discretion.

Getting Started

Read through our Contribution Guidelines before you contribute.

Community Channels

We're on Discord and Gitter! Community channels are great for you to ask questions and get help. Please join us!

List of Algorithms

See our directory for easier navigation and better overview of the project.

Description
No description provided
Readme 16 MiB
Languages
Python 99.9%
Shell 0.1%