3 ms·
Random ordering of elements in a list is often used in maze generation. It's possible that a permutation that had only one cycle might produce a maze with a par
by cjg 6y ago
Random ordering of elements in a list is often used in maze generation. It's possible that a permutation that had only one cycle might produce a maze with a particular structure.