King and Gold Bars || Logical Interview Puzzle


Interview logical puzzles are a type of problem or challenge that is designed to test a person's critical thinking, problem-solving, and reasoning skills. These puzzles are commonly used in job interviews for positions that require analytical and problem-solving abilities, such as software development, data analysis, and management roles. 

Puzzle Details: You are a king of an empire. You have a servant working in your palace. He works all seven days and you only pay him in the form of a gold bar. You must pay the worker for his work every day at the end of the day. If you are only able to make two breaks in the gold bar, how will you pay the servant if the servant works for an equal time every day and thus equal amount must be paid at the end of the day?



Solution:
If you are thinking of how to cut in such a way that you are able to make seven equal pieces, you are thinking in the wrong direction. You should give more stress on how to make the transaction with the worker. so the trick is not to try and how to cut in such a way as to make 7 equal pieces but rather to make transactions with the worker. Make two cuts on the gold bar such that you have the following sizes of bars.

 

1/7 ---- Bar A
2/7 ---- Bar B
4/7 ---- Bar C
When day 1 ends: Give Bar A to the worker (You remain with Bar B and Bar C; Worker possess - Bar A)
When day 2 ends: Give Bar B to the worker and take Bar A back (You remain with Bar A and Bar C; Worker possess - Bar B)
When day 3 ends: Give Bar A to the worker  (You remain with Bar C; Worker possess - Bar A and Bar B)
When day 4 ends: Give Bar C to the worker and take back Bar A and Bar B (You remain with Bar A and Bar B; Worker possess - Bar C)
When day 5 ends: Give Bar A to the worker (You remain with Bar B; Worker possess - Bar A and Bar C)
When day 6 ends: Give Bar B to the worker and take back Bar A (You remain with Bar A; Worker possesses - Bar B and Bar C)
When day 7 ends: Give Bar A to the worker (You remain with no bar; Worker possess - Bar A, Bar B, and Bar C)

Thus by the end of seven days, you have taken care of everything.

Watch the below video for the detailed explanation




You may like these posts:

No comments:

Post a Comment