On 8/30/2016 7:08 AM,
se19560...@gmail.com wrote:
> where do i change qsort to not order allready ordered stack?qsort is
> ordo(N Lg N)
Use something such as the median-of-three as the pivot element to do
the partitioning. See
http://algs4.cs.princeton.edu/23quicksort/, for
example.
--
mecej...@nospam.invalid
(Replace four by 4, nospam by operamail, invalid by com,
and remove all underscores)