@souravsain
Consider your algo for the case
int arr[] = {10,20,30,40,50,23,27};

everytime when you increment the j you are missing on element i.e j-1 for
further comparison


-- 
Regards
Jitendra Kushwaha
MNNIT, Allahabad

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to