in reply to Re: How to get the index of smallest whole number in an array?
in thread How to get the index of smallest whole number in an array?
Using an O(NlogN) sort instead of a O(N) linear search to find a maximum or minimum value of a list will always be inefficient.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to get the index of smallest whole number in an array?
by bliako (Abbot) on Jul 02, 2018 at 17:25 UTC | |
by AnomalousMonk (Archbishop) on Jul 02, 2018 at 22:46 UTC | |
by bliako (Abbot) on Jul 03, 2018 at 00:02 UTC | |
by Veltro (Hermit) on Jul 03, 2018 at 18:29 UTC | |
by AnomalousMonk (Archbishop) on Jul 03, 2018 at 21:38 UTC |