Question: Algorithm , Hello i need the correct answer with justification please Question 4: Consider the following array: (18,35,42,70, 75,78, 32,98). Which of the following algorithms

Algorithm , Hello i need the correct answer with justification please
Question 4: Consider the following array: (18,35,42,70, 75,78, 32,98). Which of the following algorithms has the minimum number of comparisons to sort this array? a.Selection sort b.Shell sort c.Merge Sort d. Insertion Sort e. None of the answers Question 5: Consider the following array: {7, 2, 10, 15, 9} and consider we want to apply Insertion sort, the first exchange that takes place is between: a. 7 and 2 b.7 and 9 c.2 and 15 d.7 and 15 e.None of the answers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
