From: Ryan Davis Date: 2012-06-29T09:28:39+09:00 Subject: Re: stack level too deep for quicksort code On Jun 28, 2012, at 16:02 , bei zhao wrote: > I tried to add puts after > left,right=parti(items,0,items.length) > and see iterate outputs. > > Any thoughts? Write tests. Start with an empty array, then 1, then 2, then many.