|Problems? Is your data what you think it is?|
Re: Table shuffling challengeby protist (Monk)
|on Aug 23, 2013 at 20:48 UTC||Need Help??|
I would advise to avoid actually removing elements.
Instead have multidimensional hash of column and row.
You can use this multidimensional hash to record
whether a given index has already been supplied before.
Note the use of a closure to make the function stateful.
That is the reason for the reset_hash function.
You must be able to reset the hash for another run.