in the selection sort algorithm,i cannot understand why is j moving from i to n-1, it should go from i+1 to n-1
Selection sort algorithm
@akshat2806
hello akshat,
yeah u are right it should start from i+1 . if we start from then also it will work.