Search This Blog


Infosys Interview Puzzle

Infosys Interview Puzzle - 10 March

The king of Octopuses has servants who have six, seven or eight legs. The distinguishing characteristics of the servants is that the one with seven legs always lie but the one with either six or eight legs speak the truth always.

On a certain night, four servants meet and converse:
The black one says, 'We have 28 legs altogether.'
The green one says, 'We have 27 legs altogether.'
The yellow one says, 'We have 26 legs altogether.'
The red one says, 'We have 25 legs altogether.'

Can you identify the color of the servant who is speaking the truth?

For Solution : Click Here


  1. Its simple ... in this group we have only one speaking the truth. Therefore, 3 of the servants have 7 legs adding up to 21. The one speaking the truth could have either 6 or 8 legs; a total of 29 or 27. As a result, the one speaking the truth is the green servant.

    1. wow yaar solved with ease... good work