matthewsamuel95 / ACM-ICPC-Algorithms

Algorithms used in Competitive Programming
2.1k stars 1.27k forks source link

Join_N_Ropes #768

Closed Shivamj075 closed 6 years ago

Shivamj075 commented 6 years ago

There are given n ropes of different lengths, we need to connect these ropes into one rope. The cost to connect two ropes is equal to sum of their lengths. We need to connect the ropes with minimum cost.

matthewsamuel95 commented 6 years ago

please refer to contributing