Question DSA-GRDY-0033
EasyTo connect ropes into one with the least total cost (joining two ropes costs their total length), which ropes should be joined first?
- A.
Any two ropes
- B.
The longest and the shortest
- C.
Sign up free to see the answer and a step-by-step explanation.