Python/data_structures/linked_list
Siddhant Totade 3fd3497f15
Add Comments (#9668)
* docs : add comment in circular_linked_list.py and swap_nodes.py

* docs : improve comments

* docs : improved docs and tested on pre-commit

* docs : add comment in circular_linked_list.py and swap_nodes.py

* docs : improve comments

* docs : improved docs and tested on pre-commit

* docs : modified comments

* Update circular_linked_list.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* docs : improved

* Update data_structures/linked_list/circular_linked_list.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* Update data_structures/linked_list/circular_linked_list.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* Update data_structures/linked_list/swap_nodes.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* Update data_structures/linked_list/swap_nodes.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* Update data_structures/linked_list/swap_nodes.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* Update data_structures/linked_list/swap_nodes.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* Update requirements.txt

Co-authored-by: Christian Clauss <cclauss@me.com>

* Update data_structures/linked_list/circular_linked_list.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* Apply suggestions from code review

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update circular_linked_list.py

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2023-10-04 11:25:26 +02:00
..
__init__.py Added an add at position subroutiune to linked list (#9020) 2023-09-08 08:20:28 -04:00
circular_linked_list.py Add Comments (#9668) 2023-10-04 11:25:26 +02:00
deque_doubly.py fix(ci): Update pre-commit hooks and apply new black (#4359) 2021-04-26 07:46:50 +02:00
doubly_linked_list_two.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
doubly_linked_list.py [pre-commit.ci] pre-commit autoupdate (#9013) 2023-08-29 15:18:10 +02:00
from_sequence.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
has_loop.py Replace typing.optional with new annotations syntax (#5829) 2021-11-17 04:43:02 +01:00
is_palindrome.py [pre-commit.ci] pre-commit autoupdate (#9013) 2023-08-29 15:18:10 +02:00
merge_two_lists.py change space complexity of linked list's __len__ from O(n) to O(1) (#8183) 2023-04-01 08:26:43 +02:00
middle_element_of_linked_list.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
print_reverse.py Pyupgrade to Python 3.9 (#4718) 2021-09-07 13:37:03 +02:00
reverse_k_group.py add reverse k group linkedlist (#9323) 2023-10-02 02:19:39 +02:00
rotate_to_the_right.py [NEW ALGORITHM] Rotate linked list by K. (#9278) 2023-10-01 18:11:16 +02:00
singly_linked_list.py [pre-commit.ci] pre-commit autoupdate (#9013) 2023-08-29 15:18:10 +02:00
skip_list.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
swap_nodes.py Add Comments (#9668) 2023-10-04 11:25:26 +02:00