As I mentioned earlier solution with exponential time-complexity is the
obvious one. Is there any way to solve this problem by greedy/Dynamic algo?

On Mon, Dec 5, 2011 at 5:24 PM, WgpShashank <shashank7andr...@gmail.com>wrote:

> @piyuesh , Saurabh isn't 3-Sum Suffics Here ?
>
> Another thought problem can also be thought by generating power set of
> given set e.g. if set has n elemnts its power set has  2^n elements , then
> finds the set that has sum up yo given weight isn't it ?  hope you know how
> to find power set efficiently ?
>
>
>
> correct if is missed anything ?
>
> Thanks
> Shashank
> Computer Science
> BIT Mesra
> http://www.facebook.com/wgpshashank
> http://shashank7s.blogspot.com/
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/algogeeks/-/a9F-gPQkjm0J.
>
> 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.
>

-- 
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