in reply to Re: When the Best Solution Isn't
in thread When the Best Solution Isn't
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.
|
|---|