This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Minimize cost of connecting ropes by always connecting the two shortest ropes first using a min-heap.
You've completed the free preview. Subscribe to unlock every lesson in every course.