Count the number of subset pairs whose difference of sums equals the given value.
{
"nums": [
1,
1,
2,
3
],
"diff": 1
}3{
"nums": [
1,
2,
3,
4
],
"diff": 2
}2{
"nums": [
2,
3,
5,
6,
8,
10
],
"diff": 4
}3Sign in to Run Code and Submit