I have three lists:
a = [1, 2, 3, 4]
b = [2, 3, 4, 5]
c = [3, 4, 5, 6]
My goal is to get all values which are not present in all of the three lists: [1,2,5,6]
Basically I am searching the "negation" of set(a) & set(b) & set(c)
.
An efficient solution would be appreciated since the lists are very long.