http://qs321.pair.com?node_id=878289


in reply to Re: rand + shift || pop
in thread rand + shift || pop

While splice is helpful, shuffle + shift || pop is a very simple and elegant solution. Didn't even twig on that one. Thanks very much.