current index ( K - 2 ) represents ( K - 1 ) subsets of equal sum last partition will already remain with sum 'subset
' NEW_LINE INDENT if ( curIdx == K - 2 ) : NEW_LINE INDENT return True NEW_LINE DEDENT DEDENT