7. (9 marks) For this question, consider the following array as input to several unknown comparison sorting algorithms:
Posted: Tue Jul 12, 2022 8:20 am
question, consider the following array as input to several unknown comparison sorting algorithms: 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: Algorithm: Explanation: Intermediate state: Algorithm: Explanation: Intermediate state:
7. (9 marks) For this