Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

target sum subsets #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

target sum subsets #37

wants to merge 1 commit into from

Commits on Oct 17, 2022

  1. target sum subsets

    1. You are given a number n, representing the count of elements.
    2. You are given n numbers.
    3. You are given a number "tar".
    4. Complete the body of printTargetSumSubsets function - without changing signature - to calculate and print all subsets of given elements, the contents of which sum to "tar". Use sample input and output to get more idea.
    note:solved using recusrssion and backtracking
    hk513 authored Oct 17, 2022
    Configuration menu
    Copy the full SHA
    56edfb4 View commit details
    Browse the repository at this point in the history