Intel Corporation interview question

do swap without using variables

Interview Answer

Anonymous

13 Jul 2022

if we have X &Y X=X+Y Y=X-Y X=X-Y