lua-users home
lua-l archive

Re: lhs and rhs in table.sort

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2015年08月27日 17:55 GMT+02:00 Coda Highland <chighland@gmail.com>:
> I'm not sure about heap sort.
Heap sort has best case, average case, worst case, all O(n log n),
only the multipliers differ. Auxiliary storage O(1). See Nijenhuis and
Wilf's book, available online [1].
[1] http://www.math.upenn.edu/%7Ewilf/website/CombAlgDownld.html

AltStyle によって変換されたページ (->オリジナル) /