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