Leetcode 2403. Minimum Time to Kill All Monsters | Hello Interview