mark the element and include into current partition sum
taken [ i ] = True NEW_LINE subsetSum [ curIdx ] += arr [ i ] NEW_LINE nxt = isKPartitionPossibleRec ( arr , subsetSum , taken , subset , K , N , curIdx , i - 1 ) NEW_LINE