Domanda di colloquio di Elegant MicroWeb

Swap 2 numbers without using third variable.

Risposta di colloquio

Anonimo

9 ago 2015

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

1