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 |
there is a desert. a professor has to cross it n it takes 6days for him to cross. there are enough food reserves and students who can help d professor cross d desert. each person including professor can carry only 4 food packets with him while crossing the desert. in d desert also, each person can hav at the most 4 packets with him and they need to eat one packet per person per day during their travel. how wil d professor reach the other side of desert??
In the town called Alibaug, the following facts are true: ? No two inhabitants have exactly the same number of hairs. ? No inhabitants has exactly 2025 hairs. ? There are more inhabitants than there are hairs on the head of any one inhabitants. What is the largest possible number of the inhabitants of Alibaug?
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 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?
What is the ten letter city 7 8 9 is a famous festival 3 4 5 is a degree 2 1 is a abbreviation of group of countries 7 6 gives the meaning?
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,
i want model paper on SBI Clerk post,plz sed previous papers
0 Answers State Bank Of India SBI,
At the Party: 1. There were 9 men and children. 2. There were 2 more women than children. 3. The number of different man-woman couples possible was 24. Note that if there were 7 men and 5 women, then there would have been 35 man-woman couples possible. Also, of the three groups - men, women and children - at the party: 4. There were 4 of one group. 5. There were 6 of one group. 6. There were 8 of one group. Exactly one of the above 6 statements is false. Can you tell which one is false? Also, how many men, women and children are there at the party?
Taurus+pisces =scorpio,substitute the digits for the following letter to make the following addition true?
Two planes take off at the same exact moment. They are flying across the Atlantic. One leaves New York and is flying to Paris at 500 miles per hour. The other leaves Paris and is flying to New York at only 450 miles per hour ( because of a strong head wind ). Which one will be closer to Paris when they meet?
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.
Implement a multiple-reader-single-writer lock given a compare-and-swap instruction. Readers cannot overtake waiting writers.