Subset Sum easy


2 hi test cases pass ho rahe

Hi,

you are considering only 2 elements. You should consider all 2^n subsets and check each subset sum to target.

https://ide.codingblocks.com/s/215627 optimized one passing 3 test cases

You should consider subset not subarray.