
Given an integer array nums and an integer k , return true if it is possible to divide this array into k non-empty subsets whose sums are all equal.
1 <= k <= nums.length <= 161 <= nums[i] <= 10 ^4The frequency of each element is in the range [1, 4] .