Intel Corporation interview question

do swap without using variables

Interview Answer

Anonymous

Jul 13, 2022

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