Leetcode 2091. Removing Minimum and Maximum From Array | Hello Interview