javascriptcheck if 2 lists have atleast n common elements between two lists code example
Example: python check if two lists intersect
a = [1, 2, 3]
b = [3, 4, 5]
bool(set(a) & set(b))
a = [1, 2, 3]
b = [3, 4, 5]
bool(set(a) & set(b))