Interviewbit Testing failure

The concerned person should check the testing for this problem. In the custom input my code gives correct output but fails during Testing and while submitting. I am totally disappointed.

I am having the same issue.

@harshit_ag456 Maybe you are not sorting the subset (which you then finally in the list at the last step of backtracking ) , I was doing the same thing .
See the expected output for 5 15 20 12 19 4 and you will understand what i am taking about

As of the judge it is working i submitted the solution just now .

Click here to start solving coding interview questions