after recursive call unmark the element and remove from subsetition sum
taken [ i ] = False NEW_LINE subsetSum [ curIdx ] -= arr [ i ] NEW_LINE if ( nxt ) : NEW_LINE INDENT return True NEW_LINE DEDENT return False NEW_LINE