Run error in the subset sum to target

I am getting run error in 2 test cases

hello @dhruvprashar
check now->