Given a list of sets which contain elements:
[setA: {a, b, e},
setB: {d, e, c}.
setC: {a, d}
]
and a list L
of elements needed to cover: [x, y, z, ...]
find the smallest list of sets from L whose union contains all elements in the list L
.
Is this problem the same as Set-Cover (implying it is NP-Complete)? Or is there something I am missing about this that makes it tractable?
Assume one can determine if an element x exists in a set in constant time.