Maximizing XOR Discussions | Algorithms | HackerRank
  • + 1 comment

    It can be better than log(R). If R and L are 4 byte integers, it can be done in 31 steps worst case.