---
title: "Discussion on \"1498. Number of Subsequences That Satisfy the Given Sum Condition\" | Hashnode"
description: "Discussion on \"1498. Number of Subsequences That Satisfy the Given Sum Condition\". First understand the the question..\n\nReturn non-empty subsequences\nSum of the min and max element on this less or equal to target\nreturn module 10^9 + 7\n\nBrute Force approach (Generating all subsequences)\nA straightforward idea is to generate all pos..."
url: "https://hashnode.com/posts/1498-number-of-subsequences-that-satisfy-the-given-sum-condition/6861322d58434ead89c8824c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [1498\. Number of Subsequences That Satisfy the Given Sum Condition](https://dailyleetcode.hashnode.dev/1498-number-of-subsequences-that-satisfy-the-given-sum-condition?utm_source=hashnode&utm_medium=feed)

First understand the the question.. Return non-empty subsequences Sum of the min and max element on this less or equal to target return module 10^9 + 7 Brute Force approach (Generating all subsequences) A straightforward idea is to generate all pos...

Jun 29, 2025 · 3 min read · dailyleetcode.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#chai-aur-code](https://hashnode.com/tag/chai-aur-code)
-   [#dsa](https://hashnode.com/tag/dsa)

## Written by

[ayan koley](https://hashnode.com/@ayan01)

@ayan01

  
[View profile](https://hashnode.com/@ayan01)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
