Given N gold wires, each wire has a length associated with it. At a time, only two
Given N gold wires, each wire has a length associated with it. At a time, only two adjacent small wires are assembled at the end of a large wire and the cost of forming is the sum of their length.…