Explore the solution
Log in or sign up to explore the explanation and learn how to solve this problem.
Log in or sign up to explore the explanation and learn how to solve this problem.
class Solution { public: vector<int> subsetSums(vector<int>& nums) { //your code goes here }};Input: