Given a natural number N our task is to find smallest number M having same length in binary representation as N such that difference between N | M (Bitwise-OR) and N ^ Read more →
Given a natural number N our task is to find smallest number M having same length in binary representation as N such that difference between N | M (Bitwise-OR) and N ^ Read more →