def query(self, root, s, e):
        """
        :type root: Node
        """
        if not root:
            return DEFAULT

        if root.start <= s and e >= root.end:
            return root.m

        if s >= root.end or e <= root.start:
            return DEFAULT

        l = self.query(root.left, s, e)
        r = self.query(root.right, s, e)
        return f(l, r)
dataset/ETHPy150Open algorhythms/LintCode/Interval Sum.py/SegmentTree.query/swapped operands of `<=`