Comments by "Hiyuke La Vie" (@hiyukelavie2396) on "Can you solve the computer virus riddle? - James Tanton" video.

  1. I thought I solved this, but when I continued watching the video the solution given seems a lot more complicated My (easier?) solution is as follows: I will give my team the following instructions 1. There are four lights, let's call them #1, 2, 3 and 4, with #1 being the indicator 2. If you see only one lit light, just destroy that one 3. If you see only one unlit light, just destroy that one 4. If you see there are two lit and two unlit lights, destroy the one that has the same state as the indicator (#1) 5. If you see all lights are lit or unlit, destroy the indicator itself (#1) This feels like a simpler solution, doesn't it? The logic behind this solution is this: What I need to do is to make sure that the corrupted light is the only one that is lit or unlit, and my team will destroy it as per instructions 2. and 3. Easy And if this is not possible, then what I will need to do is indicate which is the corrupted light by matching its state to the indicator (#1), and my team will destroy is as per instruction 4. And if the indicator (#1) itself is the one corrupted? Then I can either make sure all the lights are either lit or unlit, in which case they will destroy the indicator (#1) as per instruction 5., or I can make it so that the indicator (#1) is the only light that is lit or unlit, in which case they will still destroy it as per instructions 2. and 3. Try it with any permutation of the lights being lit or unlit, and corrupt any one of them, you will find that following this set of five instruction the corrupt light will always be the one destroyed
    1
  2. 1