Subsets & Combinations - Partition to K Equal Sum Subsets
Consider the following Python function implementing backtracking with bitmask memoization for partitioning an array into k equal sum subsets. Given
nums = [4, 3, 2, 3, 5, 2, 1] and k = 4, what is the final return value of canPartitionKSubsets(nums, k)?