Leetcode 3385. Minimum Time to Break Locks II | Hello Interview