Accenture interview question

Bubble sort ques in coding round