Frage im Vorstellungsgespräch bei Elegant MicroWeb

Swap 2 numbers without using third variable.

Antwort im Vorstellungsgespräch

Anonym

9. Aug. 2015

x = x + y; y = x - y; x = x - y; This was my solution without using XOR operator.

1