A Beautiful Technique for Some XOR Related Problems | Hacker News Reader