Produce a function that: passed two arrays (or array refs) returns an AoA containing all possible sequences of the two input arrays according to the "random pick - values in sequence" specified in the OP.
Rules: Strict + warnings. Array contents can be anything.
Entries that take longer than an hour to run for input arrays of 100 10 elements (184756 sequences) each are disqualified:)
See thospel's post for the reason for the rule change. It's still an interesting problem to solve, even without golfing it.
In reply to Re: (Golf challenge) (to cover my embarassment!)
by BrowserUk
in thread Stable mixing of 2 arrays into a 3rd
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |