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
Answer / sajjad
10110
11111
11111
01101
11111
0 - room to switch on the light.
Now where is the princess. :)
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / andy
01101
01110
00111
11011
11000
... and rotations of this.
The problem can be written as a system of 25 equations in 25
unknown over the field Z mod two, and then solved using
linear algebra (hopefully with the aid of a computer).
| Is This Answer Correct ? | 3 Yes | 5 No |
Answer / guest
just switch on the 5 lights in the rooms to the right
| Is This Answer Correct ? | 3 Yes | 5 No |
Answer / govind
SWitch ON light frm the 13 room, it will switches light frm
al other adjacen ROOMS .... Imagine it....
00000
00000
00000
00000
00000
0-> Indicates the ROOMS
go & switch on frm 3rd row n 3rd column light..
| Is This Answer Correct ? | 1 Yes | 3 No |
Answer / md
f6b2b
gfabc
7a1a3
geadc
e5d4d
1,2,3,4,5,6,7 indicate switch-rooms in order of switching
on their switches.
a corresponds to adjuscent rooms which lit due to step 1
b corresponds to adjuscent rooms which lit due to step 2
....
g corresponds to adjuscent rooms which lit due to step 7
| Is This Answer Correct ? | 4 Yes | 7 No |
Answer / manish verma
Only 1 light needs to be switched ON, & it will switch on
the rest of the lighhts.
| Is This Answer Correct ? | 2 Yes | 5 No |
Answer / pooja devraj
only 1 light need to switch on, gradually the remaining all
will become on.
1 0 0 0 0
0 0 0 0 0
0 0 0 0 0---->
0 0 0 0 0
0 0 0 0 0
1 1 0 0 0
1 0 0 0 0
0 0 0 0 0---->
0 0 0 0 0
0 0 0 0 0
1 1 1 0 0
1 1 0 0 0
1 0 0 0 0----> like this
0 0 0 0 0
0 0 0 0 0
this is the answer given by "ALPHY"
tz an excellent answer..
i agree....
bt litting frm room one takes a long tym to lite up all 25
rooms..
so to save time lets lit up the room at the center
y waste its advantage like it can lite its adjacent rooms..
quiet quick ryt.
SO.............
it can also be as...
0 0 0 0 0
0 0 0 0 0
0 0 1 0 0---->
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 1 0 0
0 1 1 1 0---->
0 0 1 0 0
0 0 0 0 0
0 0 1 0 0
0 1 1 1 0
1 1 1 1 1---->
0 1 1 1 0
0 0 1 0 0
0 1 1 1 0
1 1 1 1 1
1 1 1 1 1---->
1 1 1 1 1
0 1 1 1 0
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1---->
1 1 1 1 1
1 1 1 1 1
ryt?? :)
| Is This Answer Correct ? | 3 Yes | 6 No |
Answer / superman
U have to on 4 light only.
The room of which light need to on is indicated by 0,
11111
10101
11111
10101
11111
| Is This Answer Correct ? | 2 Yes | 13 No |
If one person sends the e-mail to two friends, asking each of them to copy the mail and send it to two of their friends, those in turn send it to two of their friends and so on. How many e-mails would have been sent by the time it did 30 sets?
A man is going to an Antique Car auction. All purchases must be paid for in cash. He goes to the bank and draws out $25,000. Since the man does not want to be seen carrying that much money, he places it in 15 evelopes numbered 1 through 15. Each envelope contains the least number of bills possible of any available US currency (i.e. no two tens in place of a twenty). At the auction he makes a successful bid of $8322 for a car. He hands the auctioneer envelopes number(s) 2, 8, and 14. After opening the envelopes the auctioneer finds exactly the right amount. How many ones did the auctioneer find in the envelopes?
There were two men standing on a street. The one says to the other, "I have 3 daughters, the product of their ages is 36. What is the age of the OLDEST daughter?" The second guy says, "I need more information." So, the first guy says, "The sum of their ages is equal to the address of the house across the street." The second guy looks at the address and says, "I still need more information." So, the first guy says, "My oldest daughter wears a red dress."
Q16. A sheet of paper has statements numbered from 1 to 40. For all values of n from 1 to 40, statement n says: 'Exactly n of the statements on this sheet are false.' Which statements are true and which are false?
There is a shortage of tubelights, bulbs and fans in a village - Kharghar. It is found that ? All houses do not have either tubelight or bulb or fan. ? exactly 19% of houses do not have just one of these. ? atleast 67% of houses do not have tubelights. ? atleast 83% of houses do not have bulbs. ? atleast 73% of houses do not have fans. What percentage of houses do not have tubelight, bulb and fan?
You have 3 points labelled A, B and C. You then have another 3 points labelled 1, 2 and 3. The aim of the puzzle is to connect point A with point 1, 2 and 3. Point B with point 1, 2 and 3 and point C with point 1, 2 and 3. Now while connecting the points you have to follow one rule - the lines cannot cross over each other.
You have 8 coins. 3 of them weigh x units, 3 y units, 1 a units and 1 b units. They are all mixed and look identical. You have to find the lightest coin in minimum number of weighing (balance)
Dr. DoLittle always goes walking to the clinic and takes the same time while going and while coming back. One day he noticed something. When he left the home, the hour hand and the minute hand were exactly opposite to each other and when he reached the clinic, they were together. Similarly, when he left the clinic, the hour hand and the minute hand were together and when he reached the home, they were exactly opposite to each other. How much time does Dr. DoLittle take to reach home from the clinic? Give the minimal possible answer.
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.
Two trains at speed 60 km/hr comes in the opposite direction. At a particular time the distance between the two trains is 18km. A shuttle flies between the trains at the speed of 80 km/hr. At the time the two trains crashes what is the distance traveled by shuttle?
7) Jane works at a fashion design company, and is having problems getting dressed for work. She refuses to wear any color combination that does not go well together as many of her clients may look down upon this. She has two pairs of skirts, brown and blue; three blouses, white, sky blue, and gray; four pairs of stockings, red, black, brown, and blue; and two pairs of shoes, black and brown. The blue skirt cannot be worn with red or brown stockings. Gray does not go well with brown. Black does not go well with brown. If Jane wears black shoes she will not wear: a) red stockings. b) a blue skirt. c) a white blouse. d) blue stockings. e) a sky blue blouse. 8) Jane works at a fashion design company, and is having problems getting dressed for work. She refuses to wear any color combination that does not go well together as many of her clients may look down upon this. She has two pairs of skirts, brown and blue; three blouses, white, sky blue, and gray; four pairs of stockings, red, black, brown, and blue; and two pairs of shoes, black and brown. The blue skirt cannot be worn with red or brown stockings. Gray does not go well with brown. Black does not go well with brown. If Jane is color blind and is unable to determine what outfits went well together, how many possible clothing combinations could she have? a) 24 b) 32 c) 36 d) 44 e) 48 9) Jane works at a fashion design company, and is having problems getting dressed for work. She refuses to wear any color combination that does not go well together as many of her clients may look down upon this. She has two pairs of skirts, brown and blue; three blouses, white, sky blue, and gray; four pairs of stockings, red, black, brown, and blue; and two pairs of shoes, black and brown. The blue skirt cannot be worn with red or brown stockings. Gray does not go well with brown. Black does not go well with brown. If Jane wears a brown skirt and a white blouse, she could: a) not wear blue stockings. b) not wear brown shoes. c) not wear black shoes. d) wear blue stockings. e) wear red stockings. 10) Jane works at a fashion design company, and is having problems getting dressed for work. She refuses to wear any color combination that does not go well together as many of her clients may look down upon this. She has two pairs of skirts, brown and blue; three blouses, white, sky blue, and gray; four pairs of stockings, red, black, brown, and blue; and two pairs of shoes, black and brown. The blue skirt cannot be worn with red or brown stockings. Gray does not go well with brown. Black does not go well with brown. Jane buys a gray scarf. If she wears the new scarf, then she could: a) not wear blue stockings. b) not wear brown stockings. c) not wear black shoes. d) wear a white blouse. e) wear black stockings. 11) Jane works at a fashion design company, and is having problems getting dressed for work. She refuses to wear any color combination that does not go well together as many of her clients may look down upon this. She has two pairs of skirts, brown and blue; three blouses, white, sky blue, and gray; four pairs of stockings, red, black, brown, and blue; and two pairs of shoes, black and brown. The blue skirt cannot be worn with red or brown stockings. Gray does not go well with brown. Black does not go well with brown. Jane will never wear: a) blue and red together. b) white and red together. c) gray and blue together. d) white and black together. e) white and red together.
wo kya cheez hai jo saal me 1 baar mahine me 2 baar hafte me 4 baar aur din me 6 baar aati hai
39 Answers AAA, Global Systems, Google, Human Resources, Infosys, IOCL, Matter and Co, Mind Tree, Prakash Industries, Samsung, Serco, Shani, Shreya Garments, Suman Industries, TNT, VIP, WhatsApp, YDS,