Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.idea/
.claude
.claude
__pycache__/
*.pyc
2 changes: 2 additions & 0 deletions problems/medium/clone_graph_133/test_solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ def verify_nodes(orig, cln):

# Avoid infinite loops
if orig in visited_orig:
# If we've seen this original node, we should have seen the clone too
assert cln in visited_clone
return
visited_orig.add(orig)
visited_clone.add(cln)
Expand Down