Bubble sort algorithm
Reason — In bubble sort, the adjoining values are compared and exchanged if they are not in proper order. This process is repeated until the entire array is sorted.
In the first pass, (13,19) will be compared but not swapped. The array after the first pass will be:
013119263243552865171686594
In the second pass, (19, 6) will be compared and swapped. The array after the second pass will be:
013162193243552865171686594
In the third pass, (19, 2) will be compared and swapped. The array after the third pass will be:
013162231943552865171686594