I have a list of lists,
{{a,b,c},{d,e,f},{a,b,f},{a,b,z,}...}
Can I find sublists that occur very frequently in each list? For example, in this case, {a,b}
occurs in three of the above lists, and is the most common sublist.
I can in theory check the intersection of all possible test lists with each of the above, though this is prohibitive. So is there a good way of identifying the most commonly occurring list of $k$ elements in a list of lists?
(Equivalently, if I have a hypergraph $G = (V,E)$, can I find the node subset of order $k$ with the largest hyperdegree?)
{a, e, f}
, would you still want to{a,b}
to qualify as the most common sublist, or would you want{a}
to qualify? $\endgroup${a,e,f}
wouldn't count. $\endgroup${a}
wouldn't count, right? $\endgroup$