If the problem is finding whether a _subsequence_ adds to 0, its a
subset sum problem, which can be solved using dynamic programming. If
the problem is finding whether a _substring_ adds to 0, then you can
follow what others have said in the thread.


--~--~---------~--~----~------------~-------~--~----~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups-beta.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to