Best shuffle: Difference between revisions
Content added Content deleted
(Removed division by zero bug from first D version) |
(Cleaned D version) |
||
Line 311:
// txt and result must have the same length
// allocate only when necessary
if (result.length != len)
result.length = len;
// how many of each character?
|