所以我猜它是因为它只是比较 A[k] 和 A[k-1],并在一次扫描中实现,但它仍然不清楚。有人可以更好地解释一下吗?谢谢
sorting algorithm
algorithm ×1
sorting ×1