asked 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?

asked
User Daquanna
by
7.9k points

1 Answer

3 votes
753926
573926
537926
537926
537296
537269

So the 9 bubbled to the top.
answered
User Jdgower
by
8.1k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.