Post:

You have three switches in one room and a single light bulb in another room. You are allowed to visit the room with the light bulb only once. How do you figure out which switch controls the bulb? Write your answer in the comments before looking at other answers.


Comment:

If this were an interview question, the correct response would be "Do you have any relevant questions for me? Because have a long list of things that more deserving of my precious time than to think about this!

  • Captain Aggravated@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    58
    ·
    8 days ago

    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?

    • tetris11@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days ago

      8 lightswitch states. Smack em all on, and smack em all off. If there’s no change, that’s a bad lightswitch

    • pyre@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      7 days ago

      this is the classic answer but it also fails pure logic because the question only implies one of them actually works, and even then, it’s only one of them. the truth is any number of them could work, or a specific combination, or a number of combinations, or it might be none. the bulb itself to could be busted. my point is not to be an uncooperative asshole but that a logic puzzle that relies on real world properties should cover its bases.

    • mojofrododojo@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      1
      ·
      7 days ago

      if the bulb is hot

      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.

      • Dremor@lemmy.world
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        7 days ago

        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…

        • fruitcantfly@programming.dev
          link
          fedilink
          arrow-up
          7
          ·
          7 days ago

          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:

          • After 1 minute of being on, the bulb was still room temperature.
          • After 10 minutes of being on, the bulb was lukewarm.
          • After 10 minutes of being off, the bulb was room temperature, though the fitting maybe felt slightly warmer. That latter will probably depend on your installation, and how well it is able to disperse the heat.

          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

        • mojofrododojo@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 days ago

          note the premise specifies HOT.

          none of my LED bulbs get hot even after hours. they do warm up from ‘cold’ but HOT?

          ymmv.

            • mojofrododojo@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              3 days ago

              actually not really - hot specifies HOT; if it were room temp, warm, warmer than another that sat unused - sure. but you’re only flipping it on for a short time. HOT?

              it’s pedantic, but parsing is important here because some HR shitwad decided these silly stupid games were a valid hiring method on filtering pedants apparently

              • Captain Aggravated@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                1
                ·
                10 hours ago

                I’m drunk and belligerent to not give a shit about pointless pedentry, but to finally assert that…it doesn’t fucking matter. Back when actual humans still liked Google, back before we forgot they technically changed their name to Alphabet, back when their motto was “do no harm,” they started interviewing engineers with clever brain teaser puzzles. Because at the time, Google was out “Think Differentlying” Apple. Web 2.0 was all the rage, connecting shit together in ways we didn’t know we shouldn’t was in vogue, so it made sense for them to ask software engineers about the traveling salesman dilemma and shit like that. Because they were designing things like Google Maps, and they needed people who could solve “find a route from all addresses in the United States to all other addresses in the United States on consumer-grade hardware.”

                But “Someone who needs an ordinary LAMP stack for their completely unoriginal eCommerce website” Inc. decided to start interviewing IT guys the same way because it made them look hip, and as a result Elon Musk spent a quarter term as Chief Superpower Fucker Upper.

                • mojofrododojo@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  7 hours ago

                  do no harm

                  you must be from a parallel timeline friendo. in this reality, google promised ‘don’t be evil’, then trashed that.

                  I remember those days, lived through them.

                  it doesn’t change the crux; you turned it on briefly and supposed can identify which one it was because it got HOT. this would not occur with LED lighting; only incandescent would get warm enough fast enough to maaaaybe work in this setting.

                  DO NO HARM is the oath medical professionals take, aka they hippocratic oath. https://en.wikipedia.org/wiki/Hippocratic_Oath

        • Zacryon@feddit.org
          link
          fedilink
          arrow-up
          2
          ·
          7 days ago

          but enough for that answer to be valid

          Highly arguable. Especially without specifications on the lamp. It could be a rather dim and small one. Then, you either need special equipment or supersenses.

        • Captain Aggravated@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          You know, we’re talking about how pointless a riddle it is. “Why can’t I walk into the room more than once?” I’ve heard similar hiring riddles about things like “You’ve got ten ethernet cables that run the length of a long hallway. They’re not marked at either end, what’s the most efficient way of finding out which is which?”

          And you know what? If I’m hiring a networking guy, I don’t want him to deliver me an “ooh I know this one” answer to that, I want him to tell me he’s got a cable tester with several remote probes so he can figure that out in a small number of trips. Maybe show me how he can hook a couple together with a coupler and use the cable length function to shave a couple of trips off. Not recite a memorized brain teaser answer.

          • luciferofastora@feddit.org
            link
            fedilink
            arrow-up
            1
            ·
            3 days ago

            Thr difference in phrasing is that your question presents a reasonable objective rather than an unreasonable constraint. You’re also asking something subject-specific from someone who ought to be versed in that subject. That’s not a riddle, it’s a task you’re expecting your hire to be capable of.

            • Captain Aggravated@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              3 days ago

              That’s kind of my point. Google started that nonsense of making job interviews into lateral thinking puzzles, then all managers latched onto that to make themselves look hip.

              I want to see competence and practical problem solving skills.

      • Captain Aggravated@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        18
        arrow-down
        1
        ·
        8 days ago

        LED bulbs do get warm, not as hot as incandescent bulbs but they do emit heat. You might have to run them longer than a minute to warm it up enough to be immediate about it.

    • cub Gucci@lemmy.today
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      7 days ago

      the adult answer is why do I have only one chance to walk in the room?

      The actual adult answer is questioning why the switch is in a different room and if it’s because of safety, demand for safety protocol