Question

Which of the following sort algorithms is represented by the pseudocode?


for all elements of list

if list[i] > list[i+1]

swap(list[i], list[i+1])

end if

end for
(1 point)
Responses

merge sort
merge sort

bubble sort
bubble sort

quicksort
quicksort

selection sort

Answers

There are no human answers yet.
Answered by GPT 3.5
bubble sort

Related Questions