You've got someone working for you for seven days and a gold
bar to pay them. The gold bar is segmented into seven
connected pieces. You must give them a piece of gold at the
end of every day. If you are only allowed to make two breaks
in the gold bar, how do you pay your worker?
Answers were Sorted based on User's Feedback
Answer / ben
Md Abdul Aziz is on the right track...
Cut it into 3 part where the parts are 1, 2 and 4 segments long.
Day 1 - Give 1 segment bar
Day 2 - Give 2 segment bar ask for 1 segment bar back
Day 3 - Give 1 segment bar
Day 4 - Give 4 segment bar ask for 1 + 2 back
Day 5 - Give 1 segment bar
Day 6 - Give 2 segment bar ask for 1 segment bar back
Day 7 - Give 1 segment bar
Is This Answer Correct ? | 250 Yes | 9 No |
Answer / amar damani
i will make two breaks making one, two & four,
day one: one
day two: take one give two
day three: give one again
day four: give four & take three (two + one)
day five: give one
day six: take on give two
day seven: give one
Is This Answer Correct ? | 14 Yes | 1 No |
Answer / geoffrey
Or you could just ask the worker to break it. the question
states that YOU can't break it more than twice, it doesn't
say that it can't be broken more than twice.
Is This Answer Correct ? | 21 Yes | 10 No |
Answer / jb
There's an issue with the standard/"correct" answer of
breaking into 1, 2 and 4 segment blocks, which is; what
happens if the worker spends some of his pay after being
given it?
Depending what's being looked for, a correct answer could
be a wrong one. Most intelligent people should be able to
work out the algorithm, but in doing so show that they lack
consideration of the real world; i.e. that pay is there to
be spent.
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / vikas
Break it into
1 bar piece
2 bar piece
4 bar piece
with 2 breaks as stated.
Day bars with worker | paid on day | bars with me |
Count remaming
1, 2, 4
7
1 1 1 2, 4
6
2 2 2 1, 4
5
3 1,2 1 4
4
4 4 4 1,2
3
5 4,1 1 2
2
6 4,2 2 1
1
7 4,2,1 1 none
none
Is This Answer Correct ? | 13 Yes | 8 No |
Answer / observer
I'm with Geoffrey. At the end of each day during the 7 day
period ask the worker to break off 1 piece of the 7 pieces
until the wprk period has ended. That would solve the
problem of not being able to break it 2 times yourself. I
think the key to this riddle is in the "if". You're the
boss; make the worker "work" for his pay.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / vikas
Break it into
1 bar piece
2 bar piece
4 bar piece
with 2 breaks as stated.
Day bars | paid | bars | Count remaming
with on with
worker day me
1, 2, 4 7
1 1 1 2, 4 6
2 2 2 1, 4 5
3 1,2 1 4 4
4 4 4 1,2 3
5 4,1 1 2 2
6 4,2 2 1 1
7 4,2,1 1 none none
Is This Answer Correct ? | 8 Yes | 6 No |
Answer / david
Well, what's the point if the worker spends the first piece
of gold bar on day 1 itself? After all he is getting paid
at EOD and he has to spend it to meet his needs. ;)
Is This Answer Correct ? | 1 Yes | 0 No |
How will u print TATA alone from TATA POWER using string copy and concate commands in C?
The dimensions of a certain box are 48" X 30" X 52". If the size of the box is increased proportionately until the sum of its dimensions equals 156", what will be the increase in the shortest side?
A piece of cloth costs Rs 35. If the piece were 4m longer and each meter costs Re 1.00 less, the cost would remain unchanged. How long is the piece?
If substitution is as it's burnout. Didn't remember. But this is one.
salary of a person increases every year by 20%. his salary in the year 2001 was Rs. 26,640. what was salary in 1999? well i am confused. suggest how to do such probs in steps.
There are three persons A,B,C .A shots the target 6 times out of 7 shots .B shots 4 out of 5 shots .Then what is the probability of hitting the target twice when 2 persons are selected at random.
A robber steals half the total no of pastry plus 1/2 tray from a pastry shop. A second robber steals half the remaining no of pastry plus 1/2 tray and so on. After the 5th thief has stolen there are no more pastry left in the pastry shop. What was the total no of pastry did the pastry shop have at the beginning.
5,17,37,55,101,.....?
a file s transferred from one location to another in buckets . the size of bucket s 10 kilobytes. the buckets get filled at rate of 0.0001kb per ms. transmission time from sender to receiver s 10ms per bucket. after receipt of bucket, receiver sends an acknowledgement tat reches sender in 100 ms. assuming no error during transmission write a formula to calculate time taken in seconds to successfully complete transfer of file of size N kb.
In a mixture R is two parts, S is one part . In order to mixture how much R is to be added.
Length and breadth of a rectangle are in ratio 7:5. If length is reduced by 5 and breadth by 2, area reduces by 65. Find length and breadth.
Current/most recent employer (Please state full names and address including Country and post code) Current Position Held When would you be available to start work? ONLINE INTERVIEW [INSTRUCTIONS: Give brief answers to all the under listed questions] QUESTIONS ANSWER SPACE 1) What are your years of experience? 2) How do you approach a technical problem? Give an example. How long do you think it would be before you will make a significant contribution to the team/company?