not necessary contiguous.. eg: we are given with an array-1,4,2,26,8,3 and we need to find the subsets of this having sum of its members as 11. ans should be 1,2,8 and 8,3 i hope i am clear this time..
On Mon, Oct 10, 2011 at 9:38 PM, Hatta <tmd...@gmail.com> wrote: > is it a contiguous set, any sparse subset or what? > > if it's a subset of a set then it can be sparse, but when you say > "array" you make it quite tricky to figure out. > > with all due respect sir, > please mind that when you make a question you're taking peoples time > to answer it > therefore if the answer is useless to you you'd have wasted someone > else's time with no reason. so please, I gently ask you to make a > clear question next time. > > > > > On Mon, Oct 10, 2011 at 11:47 AM, Rashmi Jain <rashmi.jain...@gmail.com> > wrote: > > algo to find subsets of an array whose sum is equal to a given number..? > > > > -- > > 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. > > > > > > -- > Hatta > > -- > 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. > > -- 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.