View Single Post
Old 03-18-2005, 07:05 PM   #1 (permalink)
manu2011
 
Newb Techie

Join Date: Mar 2005

Posts: 3

manu2011

Default non-recursive quicksort

can you give me a non recursive version of quicksort that uses a stack. the version should store at the stack indicies[i,j] of subarrays that have not been sorted yet.
what is the number of [i,j] pairs, non-sorted subarrays that can belong to stack simultaneously.
manu2011 is offline