Maximizing XOR Discussions | Algorithms | HackerRank
  • + 1 comment

    I think it can be O(logR) complexity.