Dynamic Programming: Knapsack - Partition to K Equal Sum Subsets
You are given an array of positive integers and a number
k. The task is to determine if the array can be partitioned into k subsets such that the sum of elements in each subset is equal. Which algorithmic approach guarantees an optimal solution for this problem?