In a kingdom far far away, the King decided that the time
has come to find a husband for his princess daughter. The
King wanted to find a worthy lad for his princess, so he
promised to give his daughter away to the first young (or
old) man who would solve the puzzle that has stumped the
best of his court mathematicians for years. The puzzle is
very simple: in a palace, there are 25 rooms arranged in a
square--5 rows of rooms with 5 rooms in each row. In every
room there is a light switch which not only switches on/off
the light in that room, but also switches the lights in the
adjacent rooms--the room to the right, to the left, the
room above and the room below. Initially, all of the
lights are turned off. The goal is to turn the lights on
in every room of the palace.

Answers were Sorted based on User's Feedback



In a kingdom far far away, the King decided that the time has come to find a husband for his princ..

Answer / namitha raj.b

00000
11111
00000
11111
00000
1's indicate the switches of corresponding room to be ON..
and 0's indicates the OFF..

Is This Answer Correct ?    1 Yes 13 No

In a kingdom far far away, the King decided that the time has come to find a husband for his princ..

Answer / ankush

I m little confused with so many different answers here..
can anyone suggest me the best correct answer to this
puzzle ?

Is This Answer Correct ?    0 Yes 12 No

Post New Answer

More Puzzles Interview Questions

In a kingdom far far away, the King decided that the time has come to find a husband for his princess daughter. The King wanted to find a worthy lad for his princess, so he promised to give his daughter away to the first young (or old) man who would solve the puzzle that has stumped the best of his court mathematicians for years. The puzzle is very simple: in a palace, there are 25 rooms arranged in a square--5 rows of rooms with 5 rooms in each row. In every room there is a light switch which not only switches on/off the light in that room, but also switches the lights in the adjacent rooms--the room to the right, to the left, the room above and the room below. Initially, all of the lights are turned off. The goal is to turn the lights on in every room of the palace.

22 Answers   Adobe,


Theere is a firm by name MR Bean and co. and in the firm there are 20 machines which produce a ball of 1000gms. The balls are packed and are delivered to another company by name royal PVT ltd .The production manager of the Royal company complained that a set of balls produced by a machine of the 20 machines of MR bean and co are defective..There is a loss of 100gm in the balls produced by a machine.... You are provided with a weighing machine ...You are to make use of the machine only once and find the defective machine.

6 Answers   Infosys,


iwant to know which type of questions were coming in tcs company

3 Answers   Syntel, TCS,


To move a Safe, two cylindrical steel bars 7 inches in diameter are used as rollers. How far will the safe have moved forward when the rollers have made one revolution?

3 Answers  


3 boys ,a,b,c . have 3 chocklets .. a ate the chocklet.b thrown away the chocklet and c ate half chocklet .now how many choclect each have in their hand.

33 Answers   TCS,






A remote island contains a tribe whose members have either blue or brown eyes. Tribe members do not know the color of their eyes and if they learn it, they must kill themselves the same night. Every member of the tribe always behaves logically...

2 Answers   ABC, Amazon, Microsoft,


A frog starts climbing 15 feet wall. Each hour he climbs 3 feet and rests for 30 minutes. During rest, he slips back 2 feet. How many hours does the frog take to reach the top?

13 Answers  


A woman took a certain number of eggs to the market and sold some of them. The next day, through the industry of her hens, the number left over had been doubled, and she sold the same number as the previous day. On the third day the new remainder was tripled, and she sold the same number as before. On the fourth day the remainder was quadrupled, and her sales the same as before. On the fifth day what had been left over were quintupled, yet she sold exactly the same as on all the previous occasions and so disposed of her entire stock. What is the smallest number of eggs she could have taken to market the first day, and how many did she sell daily? Note that the answer is not zero.

2 Answers   Athena Health Care,


Consider a chessboard with a single Rook. A Rook can move any number of square sideways/forward, but not diagonally. What is the minimum number of moves the Rook needs to make, in order to pass over all the squares on the chessboard and return to the original position?

5 Answers  


5+3+2=151012 9+2+4=183662 8+6+3=482466 5+4+5=202504 7+2+5=?

5 Answers  


A cube is divided into 125 pieces.. then four columns are removed then coloured all side black.. i) how many 0 side painted cubes? ii) how many 1 side painted cubes? iii) how many 2 side painted cubes? iV) how many 3 side painted cubes? V) how many 4 side painted cubes?

7 Answers   Stairway Engineering, Tata Elxsi,


1)PORK/CHOP = C,IF C=2 FIND PORK AND CHOP??? 2)ATOM + BOMB = BINGO.IF A=7 and G= 9, find ATOM BOMB BINGO.

6 Answers   Godrej,


Categories