Question: If we run the INSERTION-SORT function on the input array A = [7,4,2,1,9,3,6,5), what are the values of A[1] and A[2] when the first iteration

If we run the INSERTION-SORT function on the input array A = [7,4,2,1,9,3,6,5), what are the values of A[1] and A[2] when the first iteration of the for loop is done? Note: separate the two values with comma. Question 2 1 pts Same condition as the previous question, what is the value of the loop counter i when the inner while loop just terminates, within the second iteration (1=3) of the outer for loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
