Minimum Time Difference Leetcode