用栈的思路可以完美解决。题中定义的start 和end有点坑底,不过还好   # class Interval: #     def __init__(self, a=0, b=0): #         self.start = a #         self.end = b...