Brilian Firdaus
Members Public

Using XOR For Swapping Variable

Earlier this month, I was presented with an opportunity to interview interns that want to join my company. One of the interviewee really stood out. When my interviewer colleague asked him how to switch the value between 2 variables without using temporary variable , we expected him to just use the