Select an algorithm and press Run

Pseudocode
Bubble Sort
1for i from 0 to n-1
2for j from 0 to n-i-2
3if arr[j] > arr[j+1]
4swap arr[j] and arr[j+1]
5return arr
1/0