<doocs>0539.Minimum Time Difference_1.py
def findMinDifference( timePoints: List[str]) -> int:
    if len(timePoints) > 24 * 60:
        return 0
    mins = sorted(int(t[:2]) * 60 + int(t[3:]) for t in timePoints)
    mins.append(mins[0] + 24 * 60)
    res = mins[-1]
    for i in range(1, len(mins)):
        res = min(res, mins[i] - mins[i - 1])
    return res
def sample_funcname ( var_0 : List [ str ] ) -> int :
    if len ( var_0 ) > 24 * 60 :
        return 0
    var_12 = sorted ( int ( var_9 [ : 2 ] ) * 60 + int ( var_9 [ 3 : ] ) for var_9 in var_0 )
    var_12.append ( var_12 [ 0 ] + 24 * 60 )
    var_15 = var_12 [ - 1 ]
    for var_17 in range ( 1 , len ( var_12 ) ) :
        var_15 = min ( var_15 , var_12 [ var_17 ] - var_12 [ var_17 - 1 ] )
    return var_15
