- Mar 31, 2003
- 11,679
- 0
- 81
I am asked a series of questions on my homework that I can't comprehend because, in my mind, I don't understand how the algorithm works completel.
Can anyone help me understand how using a stack in a Quicksort algorithm to get rid of recursive calls works?
I understand how a Quicksort works and all its varieties (ie: Median of 3) - but I fail to see how a stack can help function costs.
Thanks,
-Kevin
Can anyone help me understand how using a stack in a Quicksort algorithm to get rid of recursive calls works?
I understand how a Quicksort works and all its varieties (ie: Median of 3) - but I fail to see how a stack can help function costs.
Thanks,
-Kevin
