1️⃣ Identify the minimum and maximum elements in the array in a single iteration. 2️⃣ Swap the minimum with the leftmost element and the maximum with the rightmost. 3️⃣ Shrink the search space by ...