Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • i read the answers but nothing seems to get through my head i was wondering if someone can show a simple trace and i am not really familiar with languages like haskell, and olam so that making it harder to understand. can someone show step by step in simple english...or c the pesudocode rather than other languages.. Commented Sep 12, 2014 at 22:16
  • you may refer this: geeksforgeeks.org/find-subarray-with-given-sum I hope it helps Commented Jun 13, 2016 at 12:24