Algorithms | InsertionSort | Question 4

Last Updated :
Discuss
Comments
Consider the array A[]= {6,4,8,1,3} apply the insertion sort to sort the array . Consider the cost associated with each sort is 25 rupees , what is the total cost of the insertion sort when element 1 reaches the first position of the array  ?
50
25
75
100
Share your thoughts in the comments