Re:Stack Overflow: the Blind Leading the Blind
by tlrobinson on Monday September 01, 2008 @02:09AM
(#291751)
Clever solution.
Sometimes XOR seems magical (like with the XOR swap trick). Though in hindsight, it seems like the question was designed for the solution, not vice versa. XOR just happens to do exactly what we need in this case.
Sometimes XOR seems magical (like with the XOR swap trick). Though in hindsight, it seems like the question was designed for the solution, not vice versa. XOR just happens to do exactly what we need in this case.