Subset sum target problem1

Sir in the question we have to find the subarray having target sum or not .sir please can u check my code.it passes two test cases but not all…

Hi @vikashsai1198, pls share your code here. Save it on ide.codingblocks.com and paste the link here.