Python/data_structures/linked_list
Precious C. Jacob c92e86bd79
Add tests to data_structures/linked_list/swap_nodes.py (#10751)
* Added doctests to the swap_nodes file under linkedlist data structure

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

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

* Added doctests to the swap_nodes file under linkedlist data structure

* Added doctests to the swap_nodes file under linkedlist data structure

* Added doctests to the swap_nodes file under linkedlist data structure

* Update swap_nodes.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-22 01:33:49 +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 Ruff pandas vet (#10281) 2023-10-11 14:30:02 -04: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 Remove backslashes from is_palindrome.py (#10169) 2023-10-10 06:42:07 +13: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 print reverse: A LinkedList with a tail pointer (#9875) 2023-10-06 10:55:13 +13: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 Use dataclasses in singly_linked_list.py (#9886) 2023-10-06 15:31:11 +13:00
skip_list.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
swap_nodes.py Add tests to data_structures/linked_list/swap_nodes.py (#10751) 2023-10-22 01:33:49 +02:00