結果 : write an algorithm to sort the array using bubble sort and obtain its time complexity