Question: Question 12 Not yet answered Sorting is a process to arrange elements either in increasing or decreasing order and there are different algorithms. Answer all

Question 12 Not yet answered Sorting is a process to arrange elements either in increasing or decreasing order and there are different algorithms. Answer all questions below. 1. Assuming x is an array that holds integer numbers x[]={1,50,9,100,4). Explain the working principle of insertion sort to arrange values of x array in increasing order. (2 marks) 2. List one advantage of the insertion sort algorithm. (1 mark) Marked out of 3.00 Flag
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
