I've searched all around the web but couldn't find the answer. There are two lists like this:
A = [1,2,3,4,3,2,1]
B = [1,2,3]
I wanna get output like this:
Out = [4,3,2,1]
First match of duplicate values will remove. SUGGESTED LINK DIDN'T SOLVE MY PROBLEM. If I use that, output will be:
Out =[4]