Thread: Recursion help
View Single Post
Join Date: Nov 2008
Posts: 328
Reputation: quuba is on a distinguished road 
Solved Threads: 50
quuba quuba is offline Offline
Posting Whiz

Re: Recursion help

 
0
  #4
Dec 5th, 2008
In quickSortRec(int [] A, int p, int r) You are using array as parameter, which makes Your code most not effectively. Every call cause store whole array on the stack.
Reply With Quote