โ† OLA questions

Maximal XOR Value in Range

Filed under OLA

The question

Given x, y, and k, find the maximal value of a XOR b equal to k such that x <= a < b <= y.

No write-up yet. Related questions below have one.

Related OLA questions

Collected from public candidate posts and coding forums. Updated Nov 2026.