554
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.
The official answer to this riddle is turn switch 1 on for a minute or so, switch it off then switch 2 on. if the bulb is hot but dark, its 1, if it's lit it's 2 and if it's out and cold its 3.
the adult answer is why do I have only one chance to walk in the room?
if hot they're using out of date lighting, who the fuck uses incandescent bulbs this far into the 21st century? they have failed their interview with me.
LED do not have a 100% efficiency, and do produce waste heat. A lot less than an incandescence one, sure, but enough for that answer to be valid.
Well, maybe you'd better wait 10min instead of one, to make sure the led lightbulb heats enough, but still...
I tested this with a 5W IKEA LED light-bulb, since I was just doom scrolling, anyway:
This means that the solution either breaks down entirely, or is unreliable, since you are not (reliably) able to tell the first two buttons apart