4 ms·
At a minimum, you have to consider how long the arrays are and whether the items in the array are sortable.
by hexagonc 13y ago
At a minimum, you have to consider how long the arrays are and whether the items in the array are sortable.
- minimax 13y agoDo you frequently find yourself dealing with arrays of unsortable numbers? ;-)
- hexagonc 13y agoEpic comment fail. I read original post but forgot that they specified numbers by the time I posted my comment. As uncertainty set in, I reread the original post and had a Homer Simpson moment. I upvoted you to teach myself a lesson.
- WildUtah 13y agoThere are unsortable or only partially sortable numbers, depending on your number system; it's not a problem if you can restrict yourself to real numbers, though. But they never said that numbers were the only thing in the array.
- minimax 13y agoTrue enough! Is it complex numbers you're considering? Now I feel like I'm playing one of those puzzles where there is puddle of water and a dead man and you're supposed to figure out what happened. edit: Puzzles like this: http://kith.org/logos/things/sitpuz/situations.html http://kith.org/logos/things/sitpuz/situations.html
- StavrosK 13y agoDecomposition and evaporation, I'm assuming?
- LockeWatts 13y agoIf you're on a system where the write times are several orders of magnitude larger than the read times, then I'd say those qualify as unsortable. Or at least unintelligently sortable.