Leetcode 2870. Minimum Number of Operations to Make Array Empty | Hello Interview