Indus Valley Partners interview question

How will you interchange the values of two variables a and b without introducing a third variable

Interview Answer

Anonymous

28 Sept 2011

b := b - a a := a + b b := a - b

1