![]() |
|
more useful options | |
PerlMonks |
Re: Re: Puzzle: need a more general algorithmby Anonymous Monk |
on Jul 17, 2002 at 00:38 UTC ( #182287=note: print w/replies, xml ) | Need Help?? |
Did you miss Re: Balance columns? It gets correct answers, works fine with random numbers (as long as they are all non-negative), is linear in memory consumption and the running time is O(N*log(N)).
In Section
Seekers of Perl Wisdom
|
|