swap
RU: своп
Exchange the values of two variables or array elements in place: [a, b] = [b, a]. Used in reversals, in-place sorts, and any rearrangement.
RU: своп
Exchange the values of two variables or array elements in place: [a, b] = [b, a]. Used in reversals, in-place sorts, and any rearrangement.