from operator import itemgetter
class Solution(object):
    def maxCount(self, m, n, ops):
        """
        :type m: int
        :type n: int
        :type ops: List[List[int]]
        :rtype: int
        """
        if not ops:
            return m * n
        return min(map(itemgetter(0), ops)) * min(map(itemgetter(1), ops))

Add py solution for 598. Range Addition II
Add py solution for 598. Range Addition II

598. Range Addition II: https://leetcode.com/problems/range-addition-ii/
