Maximizing XOR Discussions | Algorithms | HackerRank
  • + 4 comments

    Nope, you won't have to do any explicit conversion. Decimal integers are represented as binary under the hood. You'll want to look into the bitwise operators, they can be used on integers and are a useful way to manipulate the underlying bits.