7 76 21 20 50 46 91 76 9 43 63 17 84 15 71 60 73 76 5 74 23 18 73 14 My functio


#1

7 76 21 20 50 46 91 76
9 43 63 17 84 15 71 60 73 76
5 74 23 18 73 14
My function returned following:76 -> 74 -> 23 -> 18 -> 73 -> 14
Expected output:74 -> 23 -> 18 -> 73 -> 14
What is wrong with my output as both the list has 76 as an intersection point…?
Please help me understand…


#2

You need to compare pointers against of values


#3

Same Problem, Don’t know the error