Q: You have five pieces of chain, each consisting of three links.
You want to make one long chain of these five pieces.
Breaking open a link costs $1, and welding an open link costs $2.
What is the minimum amount you need to make the long chain?
A: $9
Explanation:
Open All 3 links in one piece : 3 X $1 = $3
Join other 4 pieces using the 3 opened links : 3 X $2 = $6
Minimum amount required = $3 + $6 = $9
0 comments:
Post a Comment