NetApp interview question

Bubble Sort Algorithm