mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 20:26:07 -04:00
Update finding_intersection.py
This commit is contained in:
parent
e06d9fbbf6
commit
08a29ececf
@ -8,7 +8,7 @@ class Node:
|
|||||||
self.next = None
|
self.next = None
|
||||||
|
|
||||||
|
|
||||||
def get_intersection_node(self, head_a: Node, head_b: Node) -> Optional[ListNode]:
|
def get_intersection_node(self, head_a: Node, head_b: Node) -> Optional[Node]:
|
||||||
|
|
||||||
seen_b = set()
|
seen_b = set()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user