If sum becomes equal to n and j becomes exactly equal to k . Return 1 , else if j is still not equal to k , return 0
if ( sums == n ) : NEW_LINE INDENT if ( j == k ) : NEW_LINE INDENT return 1 NEW_LINE DEDENT return 0 NEW_LINE DEDENT