Oct-17-2018, 09:43 PM
(Oct-17-2018, 09:17 PM)nilamo Wrote: Ok, but because you use .index(), it's slower the more results you want (I believe O(n) is what it'd be called). For example, if you change it to be 1) an unsorted starting list (sorted starting list is cheating kind of), and b) more than just the max(2), you'll see a huge difference.
Thanks for the explanation.
I was afraid of this a little bit, but never thought it would happen so early.