sorting and then adding individual elements and then comparing with k On Sat, Sep 10, 2011 at 9:59 PM, sukran dhawan <sukrandha...@gmail.com>wrote:
> sorting will help i guess > > > On Sat, Sep 10, 2011 at 9:51 PM, avi0889 <avinaru...@gmail.com> wrote: > >> how to find if sum of some of the elements of an array equals to k >> >> -- >> 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/-/Lb3JgT4eWDAJ. >> 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.