Python/data_structures
Du Yuanchao 18f1dcd48a
Updated singly_linked_list (#2477)
* Updated singly_linked_list

* fixup! Format Python code with psf/black push

* undo __repr__

* updating DIRECTORY.md

* UNTESTED CHANGES: Add an .__iter__() method.

This will break tests, etc.

* fixup! Format Python code with psf/black push

* len(tuple(iter(self)))

* fixed __repr__()

* Update data_structures/linked_list/singly_linked_list.py

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

* Update data_structures/linked_list/singly_linked_list.py

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

* Update data_structures/linked_list/singly_linked_list.py

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

* Update data_structures/linked_list/singly_linked_list.py

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

* Update data_structures/linked_list/singly_linked_list.py

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

* Update data_structures/linked_list/singly_linked_list.py

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

* Update data_structures/linked_list/singly_linked_list.py

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

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2020-09-25 16:09:29 +02:00
..
binary_tree from __future__ import annotations (#2464) 2020-09-23 13:30:13 +02:00
disjoint_set Create alternate_disjoint_set.py (#2302) 2020-08-28 18:25:02 +02:00
hashing Optimized recursive_bubble_sort (#2410) 2020-09-10 10:31:26 +02:00
heap removed redundant data_structures folder (#2256) 2020-07-31 20:36:02 +02:00
linked_list Updated singly_linked_list (#2477) 2020-09-25 16:09:29 +02:00
queue Create priority_queue_using_list.py (#2435) 2020-09-16 18:42:53 +02:00
stacks Updated Stack (#2414) 2020-09-13 13:56:03 +02:00
trie Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00