-
Using selection sort :The inner loop selects the minimum element in the unsorted array and places the elements in increasing order.
-
Using Insertion Sort : Take element from given array, place it in itscorresponding position in sorted part & shift the elements accordingly.
-
Using Bubble Sort : if arr[i]>arr[i+1] swap them. To place element in their respective position, we've to do following operation N-1 times.

Log in or sign up for Devpost to join the conversation.