Class Solution

  • All Implemented Interfaces:

    
    public final class Solution
    
                        

    539 - Minimum Time Difference\.

    Medium

    Given a list of 24-hour clock time points in "HH:MM" format, return the minimum minutes difference between any two time-points in the list.

    Example 1:

    Input: timePoints = "23:59","00:00"

    Output: 1

    Example 2:

    Input: timePoints = "00:00","23:59","00:00"

    Output: 0

    Constraints:

    • <code>2 <= timePoints.length <= 2 * 10<sup>4</sup></code>

    • timePoints[i] is in the format "HH:MM".

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Solution()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer findMinDifference(List<String> timePoints)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait