if you tie all of them and the cost is sum of invidual lengths then in the
end the cost will be sum of all lengths irrespective of any order that we
tie them in..
i think the ques would req you to say that the cost is the longer of the
two..plz check

On Mon, Mar 28, 2011 at 12:11 PM, bittu <shashank7andr...@gmail.com> wrote:

> you are given n ropes,maybe of different length. the cost of tying two
> ropes is the sum of their lengths.Find a way to tie these ropes
> together so that the cost is minimum.
>
>
>
> Thanks
> Shashank
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>


-- 
thezeitgeistmovement.com

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to