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