Citi interview question

pseudo code for bubble sort