Function to return the maximum possible time_value in 24 - Hours format
def getMaxtime_value ( arr , n ) : NEW_LINE INDENT hashMap = getFrequencyMap ( arr , n ) NEW_LINE flag = False NEW_LINE time_value = " " NEW_LINE DEDENT