...

/

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 connects n pipes of different lengths, into one pipe. You can assume that the cost to connect two pipes is ...