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])
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])
![]() | 2 | No.2 Revision |
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