Maximizing XOR Discussions | Algorithms | HackerRank
  • + 0 comments

    ![]( def maximizingXor(l, r): new_results = 0 for i in range(l, r + 1): for j in range(l,r + 1): old_result = i ^ j if old_result >= new_results: new_results = old_result return new_resultshttps://)