Ask Your Question

Revision history [back]

Generate partitions of list(range(len(L))) and apply $k \mapsto L[k]$ to each element in each part?