Write a program that can input from a set of superkeys and output all possible candidate keys from the input to an output file (named "candidate-keys"). The superkeys of one example look as follows: ABCF CDF ACDF BCDF ABCDF ABCEF CDEF ACDEF BCDEF ABCDEF
The output that contains all possible candidate keys: ABCF CDF
In the example I don't understand how to get the that result from the superkeys, any information would be helpful. Thanks