Another Saturday, another problem.
The Cheap Necklace ProblemYou are given four separate pieces of chain that are each three links in length. It costs 2 cents to open a link and 3 cents to close a link. All links are closed at the beginning of the problem. Your goal is to connect all 12 links of chain into a single circle. The total cost must
(
Read more... )
Comments 2
The cost: 2*3=6 for opening, plus 3*3=9 for closing: 15
Reply
Reply
Leave a comment