Introduction - If you have any usage issues, please Google them yourself
Bubble sort (Bubble Sort, Taiwan: bubble sort or bubble sort) is a simple sorting algorithm. It repeats the sequence to sort, compares two elements at once, and exchanges them if their order is wrong. The work of the visiting sequence is repeated until there is no need for exchange, that is, the sequence has been sorted.