Jan 17, 2008

Linked List Intersection

Suppose you have 2 Singly Linked List that intersect at a Node.
Find that node in O(n) time complexity and O(1) space.

No comments: