We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eba570 commit 60d9773Copy full SHA for 60d9773
leetcode_py/data_structures/graph_node.py
@@ -55,7 +55,7 @@ def is_clone(self, other: GraphNode | None) -> bool:
55
return False
56
57
# First check if structures are equal
58
- if not (self == other):
+ if not (self != other):
59
60
61
# Then check all nodes are different objects
0 commit comments