According to me can start the loop with i=1 instead of checking for i>0. Please Help.
For loop initialisation in wave sort
Hey Anant, please post your code’s and problem’s link also. So, that we will be able to get what you are exactly trying to ask and help you with that.