2. (a) Use bubble sort to sort 4, 2, 6, 5, 3, 1, showing the list obtained...
Fantastic news! We've Found the answer you've been seeking!
Question:
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/665ea170579b4_743665ea16fcc8cc.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/665ea1708df77_744665ea1708660f.jpg)
2. (a) Use bubble sort to sort 4, 2, 6, 5, 3, 1, showing the list obtained after each pass.(b) Use insertion sort to sort 4, 2, 6, 5, 3, 1, showing the list obtained after each pass.(c)] Use the greedy algorithm to make change using quarters, dimes and pennies for 40 cents.
Posted Date: