A : [ 56 -> 79 -> 78 -> 13 -> 97 -> 64 -> 47 -> 10 ] B : [ 9


#1

A : [ 56 -> 79 -> 78 -> 13 -> 97 -> 64 -> 47 -> 10 ]
B : [ 97 -> 6 -> 46 -> 83 -> 54 -> 47 -> 24 ]
Your function returned the following :
47 -> 24 -> 81 -> 85
The expected returned value :
81 -> 85

It seems some bugs here in the implementations of test cases. What are the real A and B here?..cause My code completely accepted at leetcode.


#2

check if L1 == L2 NOT L1.val == L2.val when comparing nodes for equality