Bubble sort starts from the left end of the array and compare two elements in position 0 and 1. If the element positioned at 0 th index is larger, we swap them.
確定! 回上一頁