SevOne Interview Question

Swap 2 positions in an array without using a temporary variable.

Interview Answer

Anonymous

Sep 21, 2017

xor swap.

SevOne Interview Question: Swap 2 positions in an array without using a temporary variable. | Glassdoor