555
Op doesn't have time for interviews
(programming.dev)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Text ambiguous. Leave doors(s) between rooms open. Flip switches, see which one controls bulb in other room. No need to even visit other room. Done in seconds.
Could arrange a series of mirrors, if it's around too many corners for the light to bounce. Wedge any doors open if necessary. Thus another plausible zero-entry solution.
This also assumes youre alone, a practical person would send someone else in the other room and communicate the states back
It doesn't assume you're alone.
Don't even need to leave the door open. What door doesn't have enough of a gap to see if a light is on?