XOR Swap
The XOR swap exchanges values without extra memory. The XOR swap procedure uses three assignment steps. XOR can swap two variables in place without a third temporary variable.
1 sources - 3 claims
The XOR swap exchanges values without extra memory. The XOR swap procedure uses three assignment steps. XOR can swap two variables in place without a third temporary variable.