Index of element after bubble sort

Report a typo

Given the following array of integers:


{ 12, 8, 11, 10, 14, 16, 13, 10 }

We sort the array using bubble sort in the ascending order from the left to right.

What index in the array will the number 12 have after three full iterations of the algorithm? Enter a number.
Enter a number
___

Create a free account to access the full topic