<qiyuangong>253_Meeting_Rooms_II_1.py
def minMeetingRooms( intervals):
    timeline = []
    for interval in intervals:
        timeline.append((interval.start, 1))
        timeline.append((interval.end, -1))
    timeline.sort()
    ans = curr = 0
    for _, v in timeline:
        curr += v
        ans = max(ans, curr)
    return ans
def sample_funcname ( var_0 ) :
    var_1 = [ ]
    for var_2 in var_0 :
        var_1.append ( ( var_2.start , 1 ) )
        var_1.append ( ( var_2.end , - 1 ) )
    var_1.sort ( )
    var_10 = var_8 = 0
    for var_11 , var_12 in var_1 :
        var_8 += var_12
        var_10 = max ( var_10 , var_8 )
    return var_10
