4 ms·You would probably just swap the last element to temp storage, and swap back after.by tedunangst 7y agoYou would probably just swap the last element to temp storage, and swap back after.