Given an array of positive integers nums, determine if it is possible to choose a subset of nums, multiply each selected integer by an integer, and sum the results to obtain
Return true if such a selection exists, or false otherwise.
Constraints:
nums.length
nums[i]
Given an array of positive integers nums, determine if it is possible to choose a subset of nums, multiply each selected integer by an integer, and sum the results to obtain
Return true if such a selection exists, or false otherwise.
Constraints:
nums.length
nums[i]