##
Find smallest number n such that n XOR n+1 equals to given k.
September 11, 2017

You are given a positive number k, we need to find a positive integer n, such that XOR of n and n+1 is equal to… Read More »