8000 Contains loops.py add by kanthuc · Pull Request #2442 · TheAlgorithms/Python · GitHub
[go: up one dir, main page]

Skip to content

Contains loops.py add #2442

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Sep 18, 2020
Merged
Prev Previous commit
Next Next commit
Update has_duplicate_data.py
  • Loading branch information
cclauss authored Sep 18, 2020
commit 444b3cec89295d233d18c5925b49e2f3fff309ec
1 change: 1 addition & 0 deletions data_structures/linked_list/has_duplicate_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def __iter__(self):

@property
def has_duplicate_data(self) -> bool:
"""
>>> node1 = Node(1)
>>> node1.next_node = Node(2)
>>> node1.next_node.next_node = Node(3)
Expand Down
0