Sir, i passed 2 test cases but failed in other 2 test cases. please check my code
💡-the-subset-sum-to-target
chandreshmaurya
(chandresh maurya)
June 8, 2021, 3:16pm
#1
aman212yadav
(Aman Yadav)
June 8, 2021, 5:38pm
#2
hello
@chandreshmaurya
solve it in O(SUM) space, memory limit is tight for this problem