TCS Company

You and two friends are having an argument about which of you is the smartest, so you ask a Grand Master Logician (Mike) to set up a completely fair test to reveal the smartest amongst you. Mike shows all three of you 5 hats - two red and three black. Then he turns off the lights in the room, puts a single hat on each person's head (except his own), and hides the remaining two hats. When Mike turns the lights back on, each of you is able to see the hats on the other two people's heads, but you cannot see the hat on your own head. The winner is the person who first guesses the correct color of his own hat. Each person can guess only once. What is your strategy for winning the contest?

Read Solution (Total 6)

TCS Other Question

a nuber when divided by D give remainder 23 abd when by 12D give 104... what will be remainder when divide by 6D. 1234124341234.......400 digits when divided by 909 leaves remainder??