Maximizing XOR Discussions | Algorithms | HackerRank
  • + 1 comment

    Thanks buddy for response.But can you explain why we are replacing all zeros to ones after most significant digit.