Ruckus
10/30/2019, 9:54 PMList<List<T>>
and I want to (expand?, transpose?) it into another List<List<T>>
like in the following example:
[
[a, b, c],
[d],
[e, f, g],
[h, i]
]
becomes
[
[a, d, e, h],
[a, d, e, i].
[a, d, f, h],
[a, d, f, i],
[a, d, g, h],
[a, d, g, i],
[b, d, e, h],
... etc.
]
For some reason it's just not clicking for me. Any ideas?