(Choose 1 answer)
(See picture)
A. 3
B. 5
C. 4
In the bubble sort algorithm
procedure bubble sort (a1, a2, ..., an integers)fori-1 ton-1 for j = 1 to n -iif aj > aj+1 then swap(aj,aj+1)
D. None of the other choices is correct
Ε. 6
if the input is the list
{4,2,3,1}
how many swaps are used?
FUO
2: 13