(Solved):
i. What effect does this algorithm have on the array \( A \) ? (Answer in just a few words.) ii. W ...
i. What effect does this algorithm have on the array \( A \) ? (Answer in just a few words.) ii. What are the smallest and largest values that swaps can take on at the end of the algorithm, as a function of \( n \) ? Describe inputs of length \( n \) that lead to those values.