Given an integer array nums and an integer k, return true if it is possible to partition nums into k non empty subsets such that the sum of elements in every subset is equal, or false otherwise.
Constraints:
k nums.length
nums[i]
The frequency of each element is in the range
Given an integer array nums and an integer k, return true if it is possible to partition nums into k non empty subsets such that the sum of elements in every subset is equal, or false otherwise.
Constraints:
k nums.length
nums[i]
The frequency of each element is in the range