I have about 1000 sets of size <= 5 containing numbers from 1 to 100.
{1}, {4}, {1,3}, {3,5,6}, {4,5,6,7}, {5,25,42,67,100} ...
Is it possible to find a size set 20 that contains the maximum number of given sets?
Checking each set 100!/(80!*20!) inefficient.
set algorithm
albert
source share