Stone Stew Riddle

Discussion in 'Member Casual Chat' started by ALFORCE, Oct 30, 2017.

Tags:
  1. ALFORCE

    ALFORCE Member

    Joined:
    Dec 10, 2014
    Messages:
    168
    Likes Received:
    25
    Trophy Points:
    18
    An astronaut named Mark, arrived to mars to collect some rock samples for earth.

    He collected 3 unique types of stones. Igneous rock, sedimentary rock and metamorphic.
    Unfortunately, he was running out of oxygen and didnt have the time to label the sacks he put each rock type in. The result was that he mislabeled all the sacks.

    How many rocks did he have to take out of how many sacks in order to find out what rock belongs to which sack?
     
  2. Guess Who

    Guess Who Well-Known Member

    Joined:
    Mar 30, 2014
    Messages:
    3,075
    Likes Received:
    1,187
    Trophy Points:
    113
    One rock out of each sack? I'm sure this is too easy so waiting for answer. Or all the rocks out of all 3 sacks if he mixed them up ?
     
  3. ALFORCE

    ALFORCE Member

    Joined:
    Dec 10, 2014
    Messages:
    168
    Likes Received:
    25
    Trophy Points:
    18
    Lolz. You need to decide yourself and explain why!
     
  4. Guess Who

    Guess Who Well-Known Member

    Joined:
    Mar 30, 2014
    Messages:
    3,075
    Likes Received:
    1,187
    Trophy Points:
    113
    How many sacks did he have? I'm not even sure all the rocks are different types. I took a little horticulture in college but was more into plant science and soil types than actual rocks.
     
  5. ALFORCE

    ALFORCE Member

    Joined:
    Dec 10, 2014
    Messages:
    168
    Likes Received:
    25
    Trophy Points:
    18
    Sorry 3 sacks. Each sack contains the same number of rocks.

    You were right.

    One rock from one sack.

    Here is an explanation.

    You withdraw the first rock lets say it is igneous rock. The rock, lets say came from the sack labeled rudimentary. Note that I said all bags are mislabeled regarding the rocks they contain.

    So you are left with the rudimentary and metamorphic sack. You know that each sack doesnt contain the rocks they are supposed to contain.. Hence you know what rocks are in each one of the them.


    I declare you as they winner!!



    BTW, it was a riddle that I got as a candidate for a programmer vacancy.
     
    Last edited: Oct 30, 2017
    Guess Who likes this.

Share This Page