233k views
3 votes
If a bubble sort is used to arrange the numbers 7 5 3 9 2 6 in ascending order, what order will the data be in after the first pass?

User Daquanna
by
7.9k points

1 Answer

3 votes
753926
573926
537926
537926
537296
537269

So the 9 bubbled to the top.
User Jdgower
by
8.1k points