Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

sub list like subsets

how to take lists of size from a list like subsets of size

example L = ([1,2,3,4],[3,5,6,7],[7,8,9,10]) From the above list find sublists of size 2

([1,2,3,4],[3,5,6,7]) ([1,2,3,4],[7,8,9,10]) ([3,5,6,7],[7,8,9,10])

sub list like subsets

how to take lists of size from a list like subsets of size

example L = ([1,2,3,4],[3,5,6,7],[7,8,9,10]) From the above list find sublists of size 2

([1,2,3,4],[3,5,6,7]) ([1,2,3,4],[7,8,9,10]) ([3,5,6,7],[7,8,9,10])

subsets can also be size 3,4,5 as specified

click to hide/show revision 3
retagged

sub list like subsets

how to take lists of size from a list like subsets of size

example L = ([1,2,3,4],[3,5,6,7],[7,8,9,10]) From the above list find sublists of size 2

([1,2,3,4],[3,5,6,7]) ([1,2,3,4],[7,8,9,10]) ([3,5,6,7],[7,8,9,10])

subsets can also be size 3,4,5 as specified