Generate all unique combinations of the array with the given size.
In other words, given [a,b,c], as well as minSize=2 and maxSize=2, this will generate [a,b], [a,c] and [b,c],
but not, e.g., [a,a] or [b,a].
If minSize!=maxSize, the result is guaranteed to be sorted by size.
Generate all unique combinations of the array with the given size. In other words, given
[a,b,c], as well asminSize=2andmaxSize=2, this will generate[a,b],[a,c]and[b,c], but not, e.g.,[a,a]or[b,a].If
minSize!=maxSize, the result is guaranteed to be sorted by size.