Leetcode 3012. Minimize Length of Array Using Operations | Hello Interview