Just take an extra array that will keep track of the values from which we
get the best in solution to that thread.



On Thu, Jul 21, 2011 at 8:55 AM, UMESH KUMAR <[email protected]>wrote:

> Hi
> @Somnath my question is some different
>
> if given array :3,2,7,10
> So according to last discussion Only Out put is *13 *not the show
> elements
> Output :: {3,10}
>
> So basically my question is that how to pick all elements that return max
> sum????????
>
> Thanks..........
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Sunny Aggrawal
B-Tech IV year,CSI
Indian Institute Of Technology,Roorkee

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

Reply via email to