...

/

Challenge: Connecting n Pipes with Minimum Cost

Challenge: Connecting n Pipes with Minimum Cost

Given n pipes, find the minimum cost of connecting them.

Problem Statement

Implement a function that, given n pipes of different lengths, connects these pipes into one pipe. The cost to connect two pipes is equal to ...