Back to QuestionsPractice with This Question
Intersection of Two Linked Lists
39.1K views•Asked at Apple•
Easy
Question Explain
Given the heads of two singly linked lists, return the node at which the two lists intersect. Solve in $O(m+n)$ time and $O(1)$ extra memory.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.