bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths
MediumArrays & HashingLC 539

Minimum Time Difference

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.

Asked at 2 companies
AmazonPalantir Technologies
Hints
  • 1.Think about which data structure fits best
  • 2.Consider the time complexity of your approach
  • 3.Look for patterns in the constraints
LeetCode