Minimum Processing Time Leetcode Problem 9