Input: Intersected at '1': {1}, {1}

  • 2
    Input:	Intersected at '1': {1}, {1}
    Output:	No intersection
    Expected:	Intersected at '1'

    What does input look like? If there is only one element in each list, how come they will intersect?

  • 0

    I think the it means that A and B share the "1" element. In other words, headA == headB.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.