sachinsingh3232 / Hactoberfest

Repository for hacktoberfest 2022
16 stars 180 forks source link

Subset sum equal to a value #197

Open dipanjan2k1 opened 1 year ago

dipanjan2k1 commented 1 year ago

Given an array with N positive integers. We need to find if there exists a subset in the array with a sum equal to K. If there is, return true else return false.