Subarray With Given Sum Coding Ninja Problem