Python/data_structures/linked_list
kanthuc ecac7b0973
Contains loops.py add (#2442)
* added an algorithm which checks a linked list for loops and returns true if one is found

* added doctests and clarified meaning of loop

* Define Node.__iter__()

* Update and rename has_loop.py to has_duplicate_data.py

* Update has_duplicate_data.py

* Update has_duplicate_data.py

* Update and rename has_duplicate_data.py to has_loop.py

* Update has_loop.py

Co-authored-by: Christian Clauss <cclauss@me.com>
2020-09-18 22:53:50 +02:00
..
__init__.py data_structures/linked_list: Add __len__() function and tests (#2047) 2020-05-31 11:37:45 +02:00
circular_linked_list.py changed a typo (#2396) 2020-09-05 13:09:18 +02:00
deque_doubly.py Optimized recursive_bubble_sort (#2410) 2020-09-10 10:31:26 +02:00
doubly_linked_list.py Fix doubly linked list algorithm (#2062) 2020-08-02 23:55:18 +08:00
from_sequence.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
has_loop.py Contains loops.py add (#2442) 2020-09-18 22:53:50 +02:00
is_palindrome.py #315 Renamed all files to snake_case (#993) 2019-07-11 11:16:42 +02:00
middle_element_of_linked_list.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
print_reverse.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
singly_linked_list.py singly_linked_list.py: psf/black (#2008) 2020-05-19 13:54:25 +02:00
skip_list.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
swap_nodes.py Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00