Swapping minimum element with the ith position in selection sort algorithm

In selection sort sir is doing swap(a[i],a[j]). I think it should be swap(a[i],a[min])

Hey @bhanuaditya63
sir is doing this only

If I am wrong then please share the time at which sir did this