(Choose 1 answer)
Given the Bubble sort algorithm (See picture)
If input \( =3,2,6,4 \). 5. 1. find the order of the elements in the list after the second pass ( \( i=2 \) ).
A. \( 2,3,4,5,1,6 \)
B. \( 2,3,4,1,5,6 \)
C. \( 2,1,4,3,5,6 \)
D. \( 2,3,1,4,5,6 \)
Procedure Bubblesort \( \left(a_{1}, a_{2}, \ldots, a_{n}\right. \) : integer \( ) \)
for \( i=1 \) to \( (n-1) \) do for \( j=1 \) to \( (n-i) d o \)
if \( a_{i}>a_{i+1} \) then \( \operatorname{swap}\left(a_{i}, a_{i+1}\right) \)