Leetcode 2391. Minimum Amount of Time to Collect Garbage | Hello Interview