Apple logoApple
CodingMembers

Intersection of Two Linked Lists

Members only

Given the heads of two singly linked lists headA and headB, return the node at which the two lists intersect. If the two lists have no intersection, return null.

SWE
easy
linked-list
two-pointer
Frequency
Single report
Last asked
2026-03-02
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...