Popular Posts

Showing posts with label Gold. Show all posts
Showing posts with label Gold. Show all posts

Wednesday, July 13, 2011

Cut Gold Puzzle

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? 

Solution: 

            Let us consider the gold  bar like this, 


 
       
 Lets split the chain as,


 
           Day 1: Give A.(+1)
           Day 2: Get back A, give B.(-1, +2)
           Day 3: Give A.(+1)
           Day 4:Get back A and B, give C. (-2,-1,+4)
           Day 5:Give A. (+1)
           Day 6:Get back A, give B. (-1,+2)
           Day 7:Give A.(+1)