Imagine a triangle of coins on a table so that the first row
has one coin in it and the second row
has two coins in it and so on. If you can only move one coin
at a time, how many moves does it take
to make the triangle point the other way?
Answers were Sorted based on User's Feedback
Answer / sriram
HINT:-> first row in the triangle has one coin
o
HINT2:->second row has twpo coins.
o
o o
solution:
drop(move ) the coin horizontally below the second row
coins ,and the triangle becomes upside down!
o o
o
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / gandhi kumar
just three moves u see its sort of simple o o o o
o o o
0 0
0
is to be achieved
so 0
0 0
0 0 0
0 0 0 0
x1
here2 0 0 here3
0 0 0
x2 0 0 x3
here1
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / guest
For a triangle with two row it is one, for a triangle with
three rows it is two, for a triangle
with four rows it is three.
For a traingle with five rows is it four?
It takes 5 moves to make the triangle with 5 rows point the
other way.
0 = a coin that has not been moved.
X = the old position of the moved coin
8 = the new position of the moved coin.
________X
_______X X
____8 0 0 0 8
_____0 0 0 0
____X 0 0 0 X
_______8 8
________8
For traingle of any number of rows, the optimal number of
moves can be achieved by moving the
vertically symmetrical coins i.e. by moving same number of
coins from bottom left and right, and
remaining coins from the top.
For a triangle with an odd number of rows, the total moves
require are :
(N2/4) - (N-4) Where N = 4, 6, 8, 10, ...
For a triangle with even number of rows, the total moves
require are :
((N2-1)/4) - (N-4) Where N = 5, 7, 9, 11, ...
Is This Answer Correct ? | 2 Yes | 4 No |
15 people--each has to pay Rs.20.. 20 people--each has to pay Rs.18.. for 40 people--how much has to pay
If you look at a clock and the time is 3:15. What is the angle between the hour and the minute hands? ( The answer to this is not zero!)
consider 3 by 3 matrix & take 1-9 numbers but not repeat the numbers add each row and column then each row and column has the answer 13 how?
A cow is standing 5 feet from the middle of the bridge .A train is at a distance of 2 times length of the bridge from direction in which cow is nearer to end of the bridge is coming at a speed of 90 miles/hour.If cow moves towards train it will be saved by 1 foot.If cow moves away from train it will be hit by three inches of cow (i)Find length of bridge (ii)Find cows speed
1 Answers eLitmus, Infosys, TCS,
Six cabins numbered 1-6 consecutively, are arranged in a row and are separated by thin dividers. These cabins must be assigned to six staff members based on following facts. 1. Miss Shalaka's work requires her to speak on the phone frequently throughout the day. 2. Miss Shudha prefers cabin number 5 as 5 is her lucky number. 3. Mr. Shaan and Mr. Sharma often talk to each other during their work and prefers to have adjacent cabins. 4. Mr. Sinha, Mr. Shaan and Mr. Solanki all smoke. Miss Shudha is allergic to smoke and must have non-smokers adjacent to her. 5. Mr. Solanki needs silence during work. Can you tell the cabin numbers of each of them?
Four couples are going to the movie. Each row holds eight seats. Betty and Jim don't want to sit next to Alice and Tom. Alice and Tom don't want to sit next to Gertrude and Bill. On the otherhand, Sally and Bob don't want to sit next to Betty and Jim. How can the couples arrange themselves in a row so that they all sit where they would like?
Three containers are of 15,10 and 6 ltrs capacity. Initially its in configuration (15,0,0). Make it to configuration (2,8,5).
Why do you want to do job in Pharma midical company?
One of the following is my secret word: AIM DUE MOD OAT TIE. With the list in front of you, if I were to tell you any one of secret word, then you would be able to tell the number of my secret word. Which is my secret word?
8 Answers AIM Research, Contata, Exxon Mobil, IBM, TCS, Vernalis Systems,
There are 3 societies A, B, C. A lent cars to B and C as many as they had already. After some time B gave as many tractors to A and C as many as they have. After sometime c did the same thing. At the end of this transaction each one of them had 24. Find the cars each orginally had.
A husband and wife have a combined age of 91. The husband is now twice as old as his wife was when he was as old as she is now. How old is wife?
An apple vendor has 1000 apples and 10 empty boxes. He asks his son to place all the 1000 apples in all the 10 boxes in such a manner that if he asks for any number of apples from 1 to 1000, his son should be able to pick them in terms of boxes. How did the son place all the apples among the 10 boxes, given that any number of apples can be put in one box.