Paytm Transaction List Intersection
Paytm Transaction List Intersection
EasyLinked Lists0% accepted
Two Paytm transaction histories merge at some point. Given heads of two singly linked lists, find the node where they intersect. Return null if no intersection.
Approach
Find intersection node of two linked lists.
Input
4
1 2 3 4
4
3 4 5 6
Output
3 4
More Linked Lists problems
Browse all coding problems →solution.py
Loading editor...
Test 1
Test 2
Test 3
Press Run to test your custom input, or Submit to judge against all test cases.
Sign in to continue
Create a free account to run code, submit solutions and track progress.
- Free forever — no credit card
- 10+ languages with live execution
- Points, streaks & leaderboards