CAN U PLS EXPLAIN THIS IN SIMPLE WORDS?
Find all combinations that add upto given number
@pradyumn2006
You need to find all the distinct combinations of positive integers that sums up to a given number. You can use any integer(positive) any number of times.
for eg n=3
1 1 1
1 2
3
Note: 2 1 won’t be counted since already taken.