Skip to main content

XOR Operator

Detect If Two Integers Have Opposite Signs

2 min read

In this question, input two numbers and detect if they have opposite signs. We solve using bitwise XOR operator

Reading Progress