Can you please help with the below computer science - Algorithmsquestion
Please do not copy existing Cheqq Question
7. (9 marks) For this question, consider the following array as input to several unknown comparison sorting algorithms: 9 3 7 12 11 5 4 1 6 10 8 2 At some point during the execution of each sorting algorithm, a benevolent oracle pauses the execution and shows you the current contents of that array. Given the partially sorted arrays below, and the initial state of the array above, determine which sorting algorithm was called. Give a brief explanation of how you know this. Intermediate state: 3 7 9 Algorithm: Explanation: Intermediate state: 1 Algorithm: Explanation: 2 Intermediate state: 3 7 Algorithm: Explanation: 3 12 12 9 11 11 11 5 сл 5 сл 5 сл 4 4 4 1 1 9 6 1.0 6 10 10 8 10 00 8 8 00 2 2 7 12
Can you please help with the below computer science - Algorithms question Please do not copy existing Cheqq Question
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am