Alternating T-shirt colors

854.0K Views

Ten friends walk into a room where each one of them receives a hat.  On each hat is written a real number; no two hats have the same number.  Each person can see the numbers written on his friends’ hats, but cannot see his own.  The friends then go into individual rooms where they are each given the choice between a white T-shirt and a black T-shirt.  Wearing the respective T-shirts they selected, the friends gather again and are lined up in the order of their hat numbers.  The desired property is that the T-shirts colors now alternate.

The friends are allowed to decide on a strategy before walking into the room with the hats, but they are not otherwise allowed to communicate with each other (except that they can see each other’s hat numbers).  Design a strategy that lets the friends always end up with alternating T-shirt colors.

Share
ronret45 Expert Asked on 1st August 2015 in Microsoft Interview Puzzles.
Add Comment

  • 1 Answer(s)
    Best answer

    People will
    view the biggest number they see, the person having 9 stares will realize he is biggest he will wear say black then after 10 seconds they will stare the second biggest they see.the person  having 8 stares will be second biggest  same continues ..and  yo yo who is  back .just Kidding .just a fighter mate.

    Yodha Expert Answered on 4th April 2016.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.
  • More puzzles to try-