Count of distinct pair sum between two 1 to N value Arrays | Function to find the distinct sums ; Driver code
def findDistinctSums ( N ) : NEW_LINE INDENT return ( 2 * N - 1 ) NEW_LINE DEDENT N = 3 NEW_LINE print ( findDistinctSums ( N ) ) NEW_LINE