Pergunta de entrevista da empresa Elegant MicroWeb

Swap 2 numbers without using third variable.

Resposta da entrevista

Sigiloso

9 de ago. de 2015

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

1