My example test cases are passing but when i submit code i get run time error.Please find below link of my code:
Could you please let me know ,what am i missing here?
Sum it easy code problem
make all the subsets bro, use bitmasking and count the sum