LeetCode 1498 Number of Subsequences That Satisfy the Given Sum Condition | Medium