Given an integer array nums and an integer target, determine whether nums can be partitioned into two disjoint subsets such that the product of the elements in each subset is equal to target.
Return true if such a partition exists, and false otherwise.
Constraints:
nums.length
target
nums[i]
All elements of nums are distinct.
Given an integer array nums and an integer target, determine whether nums can be partitioned into two disjoint subsets such that the product of the elements in each subset is equal to target.
Return true if such a partition exists, and false otherwise.
Constraints:
nums.length
target
nums[i]
All elements of nums are distinct.