vivekkumarjha

Members
  • Content count

    2
  • Joined

  • Last visited


Community Reputation

0

About vivekkumarjha

  • Rank
    Newbie

vivekkumarjha's Activity

  1. vivekkumarjha added an answer to a question Hats on a death row!! One of my favorites puzzles!   

    no the solution doesn't fail.
    suppose there are 19 black and 1 red hat
    then 20th last prisoner shouts black (key word for black being odd)
    he does not know his own hats colour so he may or may not be saved
    but the 19th prisoner knows that including his hat there are odd number of black hats, now if he sees even black hats, his hats colour is black, but if he sees odd black colours, his hat colour is red
    now suppose he sees odd black colour, then he shouts red
    the others keep on counting, this red means red is now odd (key word for red being odd)
    the others would keep a note of it and carry on like wise
    • 0
  2. vivekkumarjha added an answer to a question Hats on a death row!! One of my favorites puzzles!   

    well, nice one
    but the slightest mistake and all would be executed
    • 0