Leetcode 539. Minimum Time Difference
Given a list of 24-hour times, compute the minimum minutes difference between any two time-points by treating times as minute values on a circular 24-hour clock and comparing adjacent values after sorting (including the wrap-around at midnight). Note that duplicates (or more than 1440 times by the pigeonhole principle) yield a zero difference.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Your account is free and you can post anonymously if you choose.