Page 1 of 1

Which of the following statements is the basic for loop for a shell sort algorithm?

Posted: Wed Jul 13, 2022 6:15 pm
by answerhappygod
a) for(increment=N/2;increment>0;increment/=2)
b) for(i=1;i<n;i++)
c) for(i=n/2;i>=0;i- -)
d) for(i=0;i< n;i++;numelements- -)