i have been trying to figure out an effective algorithm that returns a set such as it's intersection with the given sets isn't equal to {}
.
for example : let's say the given sets are {1,7,4},{2,8,5},{1,3},{2,6}
the function must return the set {1,2}
because it has an intersection point with all the given sets (the generated set needs to be as small as possible)