The light Switch @ Dcoder
16 Jul 2023 1 minute read 0 comments Lochard
Problem: There is a light bulb on the stairs, which has two switches. The light turns on if and only if one of them is on(binary 1) and other is off(binary 0).You are given combinations of these switch find whether the bulb glow or not? Input: Two bi...