What about Maximum OR, AND, etc?


  • 0
    S

    What if instead this problem asked for maximum OR/AND or minimum XOR or OR or AND?

    For minimum XOR, should we traverse our mask from 1 to 2^31?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.