XOR problems
XOR
Many popular bit manipulation problems require to use XOR in code. In this article, I will introduce couple XOR problems and solution. XOR is represented by ^ in C language. XOR truth table is shown below.
When two bits are the same, result is ...
hyunwoochoi.hashnode.dev3 min read