In a bubble sort algorithm, what is the primary purpose of the 'swap' operation?
To exchange the positions of two adjacent elements if they are out of order
To move the smallest element to the beginning of the list
Baroque art features strong contrasts, while Rococo art prefers more subtle transitions
Baroque art is generally larger in scale than Rococo art

Computing Exercises are loading ...