UST interview question

Write a program to do bubble sort?