Question: ~24. Given the following numbers in array A... 20 45 28 36 32 29 54 63 41 11 ... what is the contents of array

~24. Given the following numbers in array A... 20 45 28 36 32 29 54 63 41 11 ... what is the contents of array A after the first pass of a Bubble Sort? The numbers are being sorted into ascending order. a. 20 28 36 32 29 45 54 41 11 63 b. 36 28 41 45 32 54 11 63 29 20 C. 45 32 11 29 28 20 41 63 54 36 d. 11 41 45 29 20 28 54 63 36 32 e. None of the above ~25. Given the following numbers in array A ... 47 64 39 27 51 34 30 56 22 70 ... what is the contents of array A after the first pass of Hoare's version of the Partition method for the Quick Sort covered in class? a. 51 34 30 56 64 27 22 39 47 70 b. 22 30 39 27 34 47 51 56 64 70 C. 30 56 39 70 22 64 47 27 51 34 O d. 64 30 27 56 70 34 39 47 22 51 e. 51 30 47 39 27 64 34 56 22 70
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
