Apostek interview question

how to bubble sort fast