Two-Half OR XOR Maximum

Company: Google_6july_2024

Difficulty: hard