which of the following algorithims is represented by the psudocode
for all elements of list
if list[i]>list[i+i]
swap(list[i], list[i+i])
end if
end for
1 answer
The pseudocode represents the Bubble Sort algorithm.
for all elements of list
if list[i]>list[i+i]
swap(list[i], list[i+i])
end if
end for
1 answer