Stuck in code in base case


I am unable to find a way by which I pass a target value and put a base consition

@tanjuljain19 ase case is when sum becomes zero or i==n
You also had to make a count of elements in the subset.
because there might be case where you select a empyth subset and sum would be zero.