Which sorting algorithm is described by the following algori…
Which sorting algorithm is described by the following algorithm? 1. Compare A[0] and A[1]. If A[0] > A[1], swap the elements.2. Compare A[1] (may be swapped from the previous step) and compare with A[2]. If A[1] > A[2], swap the elements. Do this for every pair until the end of the list.
Read Details