Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Re: When the Best Solution Isn'tby thraxil (Prior) |
on Sep 23, 2002 at 14:28 UTC ( [id://200112]=note: print w/replies, xml ) | Need Help?? |
actually, something occurred to me in the shower this morning. my approach isn't linear, it should be O(NlogN) because of the sort. but Fisher-Yates is linear, so it should pretty much beat anything else, at least for large inputs. but it doesn't seem to. now i'm really confused.
In Section
Meditations
|
|