Subset Sum Problem In Leetcode Contest