3 ms·
You're absolutely right, there is one condition that I've swept under the rug which is necessary. * The resulting list must be a permutation of the original li
by Spivak 10y ago
You're absolutely right, there is one condition that I've swept under the rug which is necessary.
* The resulting list must be a permutation of the original list.